(OSX) Get rid of saving/loading global config file when opening/closing

settings menu  - also don't do stop_iteration/start_iteration
This commit is contained in:
Twinaphex 2014-07-16 03:55:59 +02:00
parent 5e637f4065
commit e63a0106d1

View File

@ -195,17 +195,11 @@ NSWindowDelegate>
}
}
}
setting_data_load_config_path(setting_data_get_list(), apple_platform.globalConfigFile.UTF8String);
apple_stop_iteration();
}
- (void)windowWillClose:(NSNotification *)notification
{
setting_data_save_config_path(setting_data_get_list(), apple_platform.globalConfigFile.UTF8String);
[NSApp stopModal];
apple_start_iteration();
}
#pragma mark Section Table