]> git.sesse.net Git - vlc/commitdiff
enabled the menu-entry to show file info when there is an input
authorSigmund Augdal Helberg <sigmunau@videolan.org>
Sun, 30 Mar 2003 12:15:50 +0000 (12:15 +0000)
committerSigmund Augdal Helberg <sigmunau@videolan.org>
Sun, 30 Mar 2003 12:15:50 +0000 (12:15 +0000)
modules/gui/kde/interface.cpp

index 2f50a8d6a7db8a0e7f6ce3dd1dc254d3bab0921a..d83e3dacbd1415d2eb31b2a2d56752739d55ee7e 100644 (file)
@@ -289,6 +289,13 @@ void KInterface::slotManage()
     {
         p_intf->p_sys->p_input = (input_thread_t *)
                 vlc_object_find( p_intf, VLC_OBJECT_INPUT, FIND_ANYWHERE );
+        if ( p_intf->p_sys->p_input )
+        {
+            languages->setEnabled( true );
+            subtitles->setEnabled( true );
+            info->setEnabled( true );
+        }
+            
     }
     else if( p_intf->p_sys->p_input->b_dead )
     {