]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/dialogs/preferences_widgets.cpp
Don't show unsaveable options in the preferences
[vlc] / modules / gui / wxwidgets / dialogs / preferences_widgets.cpp
index 22a69081a94527d51eecd85b6f5d55482b340255..3910e10fbe7a9d62b3bf162bd330736aeca35148 100644 (file)
@@ -39,7 +39,7 @@ ConfigControl *CreateConfigControl( vlc_object_t *p_this,
     ConfigControl *p_control = NULL;
 
     /*Skip deprecated options */
-    if( p_item->psz_current )
+    if( p_item->psz_current || p_item->b_unsaveable )
     {
         return NULL;
     }