Don't show unsaveable options in the preferences
[vlc.git] / modules / gui / wxwidgets / dialogs / preferences_widgets.cpp
index 22a6908..3910e10 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;
     }