Commit 8392e8ff authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: Correct Reset all in simple prefs

when i press "reset all" i expect all prefs to be reset and saved, instead of previous behaviour where all prefs were reset, but only the simple prefs were saved.
parent 2338c794
...@@ -651,8 +651,8 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des ...@@ -651,8 +651,8 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
if( i_return == NSAlertAlternateReturn ) if( i_return == NSAlertAlternateReturn )
{ {
config_ResetAll( p_intf ); config_ResetAll( p_intf );
b_intfSettingChanged = b_videoSettingChanged = b_audioSettingChanged = b_osdSettingChanged = b_inputSettingChanged = YES;
[self resetControls]; [self resetControls];
config_SaveConfigFile( p_intf, NULL );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment