[vlc-commits] Qt: PLSelector: ensure curItem is set when switching back from ML

Francois Cartegnie git at videolan.org
Sun Sep 2 21:44:55 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Sep  2 14:49:34 2012 +0200| [d18e0d0e50bba162a424fea4caaaba1e5de532e7] | committer: Francois Cartegnie

Qt: PLSelector: ensure curItem is set when switching back from ML

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d18e0d0e50bba162a424fea4caaaba1e5de532e7
---

 modules/gui/qt4/components/playlist/selector.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index e05e8e9..547d002 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -303,6 +303,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
     else if( i_type == SQL_ML_TYPE )
     {
         emit categoryActivated( NULL, true );
+        curItem = item;
         return;
     }
 #endif



More information about the vlc-commits mailing list