mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-21 12:21:50 +02:00
Close all related windows when closing a document
This commit is contained in:
@@ -865,6 +865,10 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency)
|
|||||||
[[NSUserDefaults standardUserDefaults] setInteger:self.mainWindow.frame.size.height forKey:@"LastWindowHeight"];
|
[[NSUserDefaults standardUserDefaults] setInteger:self.mainWindow.frame.size.height forKey:@"LastWindowHeight"];
|
||||||
[self stop];
|
[self stop];
|
||||||
[self.consoleWindow close];
|
[self.consoleWindow close];
|
||||||
|
[self.memoryWindow close];
|
||||||
|
[self.vramWindow close];
|
||||||
|
[self.printerFeedWindow close];
|
||||||
|
[self.cheatsWindow close];
|
||||||
[super close];
|
[super close];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user