Commit 86ca1b56 authored by Erwan Tulou's avatar Erwan Tulou

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

parent 4337a2d9
...@@ -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