mirror of
https://github.com/libretro/Play-.git
synced 2025-03-04 17:28:29 +00:00
Save settings after modal loop has been terminated.
This commit is contained in:
parent
bbbee1c33b
commit
416946ceb2
@ -21,11 +21,11 @@ static PreferencesWindowController* g_sharedInstance = nil;
|
||||
-(void)show
|
||||
{
|
||||
[NSApp runModalForWindow: [self window]];
|
||||
CAppConfig::GetInstance().Save();
|
||||
}
|
||||
|
||||
-(void)windowWillClose: (NSNotification*)notification
|
||||
{
|
||||
CAppConfig::GetInstance().Save();
|
||||
[NSApp stopModal];
|
||||
[self release];
|
||||
g_sharedInstance = nil;
|
||||
|
Loading…
x
Reference in New Issue
Block a user