]> git.sesse.net Git - vlc/commitdiff
Fix a little bug in recents media menu.
authorLudovic Fauvet <etix@l0cal.com>
Sun, 29 Mar 2009 22:58:03 +0000 (00:58 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 29 Mar 2009 23:05:34 +0000 (01:05 +0200)
When cleared the menu was not refreshed.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/recents.cpp

index 7cdf80ec9b5ff7ffa588a274d70d28634f4d9562..82a20e137cb78b74a9a339af9438130f44765403 100644 (file)
@@ -89,7 +89,7 @@ void RecentsMRL::clear()
     if ( stack->isEmpty() )
         return;
     stack->clear();
-    if( !isActive ) QVLCMenu::updateRecents( p_intf );
+    if( isActive ) QVLCMenu::updateRecents( p_intf );
     save();
 }