[vlc-devel] commit: macosx: Correct Reset all in simple prefs (Derk-Jan Hartman )

git version control git at videolan.org
Mon Sep 22 16:02:53 CEST 2008


vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Mon Sep 22 16:00:57 2008 +0200| [8392e8fff59cb5b1c91b159f98c38011f3606d9c] | committer: 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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8392e8fff59cb5b1c91b159f98c38011f3606d9c
---

 modules/gui/macosx/simple_prefs.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index de56df8..e63e7f8 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -651,8 +651,8 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
     if( i_return == NSAlertAlternateReturn )
     {
         config_ResetAll( p_intf );
-        b_intfSettingChanged = b_videoSettingChanged = b_audioSettingChanged = b_osdSettingChanged = b_inputSettingChanged = YES;
         [self resetControls];
+        config_SaveConfigFile( p_intf, NULL );
     }
 }
 




More information about the vlc-devel mailing list