]> git.sesse.net Git - vlc/commitdiff
skins2: fix wrong test (it's the other way around)
authorErwan Tulou <erwan10@videolan.org>
Thu, 6 May 2010 14:44:09 +0000 (16:44 +0200)
committerErwan Tulou <erwan10@videolan.org>
Thu, 6 May 2010 19:06:08 +0000 (21:06 +0200)
modules/gui/skins2/vars/playtree.cpp

index 4cbd1be413b6bd75bcc352cb0b7bd4a07b635e6b..2407e385cf3be21e502931f94768bd0a2b33ddd4 100644 (file)
@@ -192,7 +192,7 @@ void Playtree::onDelete( int i_id )
     {
         if( item->parent() )
             item->parent()->removeChild( item );
-        descr.b_visible = item->parent() ? true : item->parent()->m_expanded;
+        descr.b_visible = item->parent() ? item->parent()->m_expanded : true;
         notify( &descr );
     }
 }