[vlc-commits] commit: skins2: fix wrong test (it's the other way around) (Erwan Tulou )
git at videolan.org
git at videolan.org
Thu May 6 21:07:21 CEST 2010
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu May 6 16:44:09 2010 +0200| [86ca1b563da49e869e7ef3c62dab2a3c1c58916b] | committer: Erwan Tulou
skins2: fix wrong test (it's the other way around)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86ca1b563da49e869e7ef3c62dab2a3c1c58916b
---
modules/gui/skins2/vars/playtree.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp
index 4cbd1be..2407e38 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 );
}
}
More information about the vlc-commits
mailing list