Commit df28e87a authored by Christophe Mutricy's avatar Christophe Mutricy

Don't show unsaveable options in the preferences

parent 03272d2b
......@@ -74,7 +74,7 @@ ConfigControl *ConfigControl::createControl( vlc_object_t *p_this,
QGridLayout *l, int &line )
{
ConfigControl *p_control = NULL;
if( p_item->psz_current ) return NULL;
if( p_item->psz_current || p_item->b_unsaveable ) return NULL;
switch( p_item->i_type )
{
......
......@@ -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;
}
......
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