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