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:
parent
de4922c339
commit
1a1f92877c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue