[vlc-devel] [PATCH] Dropdown-menu of playlist view mode is now updated correctly.

VlcVelope 1034-135 at online.de
Sun Apr 29 20:51:43 CEST 2012


If cycled through the different view modes the dropdown menu was not updated
accordingly.

Regards,
VlcVelope
---
 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()
-- 
1.7.5.4




More information about the vlc-devel mailing list