Commit 6788907a authored by Erwan Tulou's avatar Erwan Tulou Committed by Jean-Baptiste Kempf

skins2: fix wrong test (it's the other way around)

(cherry picked from commit 86ca1b563da49e869e7ef3c62dab2a3c1c58916b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1c05e50d
...@@ -192,7 +192,7 @@ void Playtree::onDelete( int i_id ) ...@@ -192,7 +192,7 @@ void Playtree::onDelete( int i_id )
{ {
if( item->parent() ) if( item->parent() )
item->parent()->removeChild( item ); 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 ); notify( &descr );
} }
} }
......
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