Cocoa port now shows the open dialog if no ROM is open.
This commit is contained in:
parent
95cfb114a2
commit
6e86dbcebb
@ -52,4 +52,12 @@
|
||||
}
|
||||
[_preferencesWindow makeKeyAndOrderFront:self];
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
||||
{
|
||||
NSDocumentController *controller = [NSDocumentController sharedDocumentController];
|
||||
if (![[controller documents] count]) {
|
||||
[[NSDocumentController sharedDocumentController] openDocument:self];
|
||||
}
|
||||
}
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user