[vlc-commits] Qt: fix selection of dropdown-menu of playlist view mode

Jean-Baptiste Kempf git at videolan.org
Tue May 15 18:00:18 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May 15 17:58:52 2012 +0200| [366a8885e5c592195853f6cf9682c2c8fe29fec7] | committer: Jean-Baptiste Kempf

Qt: fix selection of dropdown-menu of playlist view mode

Patch by VlcVelope

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

 modules/gui/qt4/components/playlist/playlist.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp
index e6ba9e6..de1c683 100644
--- a/modules/gui/qt4/components/playlist/playlist.cpp
+++ b/modules/gui/qt4/components/playlist/playlist.cpp
@@ -249,6 +249,7 @@ void PlaylistWidget::changeView( const QModelIndex& index )
 {
     searchEdit->clear();
     locationBar->setIndex( index );
+    viewActions[mainView->currentViewIndex()]->setChecked( true );
 }
 
 void PlaylistWidget::clearPlaylist()



More information about the vlc-commits mailing list