[vlc-devel] [PATCH 1/2] Qt: enable the recents menu again after adding an element

Ludovic Fauvet etix at videolan.org
Thu Dec 15 01:21:12 CET 2011


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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 4c81eed..55ae7b7 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1549,6 +1549,7 @@ void VLCMenuBar::updateRecents( intf_thread_t *p_intf )
 
             recentsMenu->addSeparator();
             recentsMenu->addAction( qtr("&Clear"), rmrl, SLOT( clear() ) );
+            recentsMenu->setEnabled( true );
         }
     }
 }
-- 
1.7.8




More information about the vlc-devel mailing list