From: Erwan Tulou Date: Thu, 6 May 2010 14:44:09 +0000 (+0200) Subject: skins2: fix wrong test (it's the other way around) X-Git-Tag: 1.2.0-pre1~6739 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=86ca1b563da49e869e7ef3c62dab2a3c1c58916b;p=vlc skins2: fix wrong test (it's the other way around) --- diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp index 4cbd1be413..2407e385cf 100644 --- a/modules/gui/skins2/vars/playtree.cpp +++ b/modules/gui/skins2/vars/playtree.cpp @@ -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 ); } }