Cocoa Port:

- Fix bug where File menu items were being permanently disabled when the file migration sheet was used.
- Fix bug where closeRom: would occasionally not work correctly.
This commit is contained in:
rogerman 2012-08-23 20:00:57 +00:00
parent de4922c339
commit 1a1f92877c
1 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@
[self handleLoadRom:selectedFile]; [self handleLoadRom:selectedFile];
} }
- (IBAction) closeRom:(id)sender; - (IBAction) closeRom:(id)sender
{ {
[self handleUnloadRom:REASONFORCLOSE_NORMAL romToLoad:nil]; [self handleUnloadRom:REASONFORCLOSE_NORMAL romToLoad:nil];
} }
@ -1130,7 +1130,7 @@
[fileURL retain]; [fileURL retain];
[self setIsSheetControllingExecution:YES]; [self setIsSheetControllingExecution:YES];
[self setIsShowingSaveStateSheet:YES]; [self setIsShowingFileMigrationSheet:YES];
[NSApp beginSheet:saveFileMigrationSheet [NSApp beginSheet:saveFileMigrationSheet
modalForWindow:window modalForWindow:window