]> git.sesse.net Git - vlc/commitdiff
add back check to see if infopanel is opened for something else than
authorIlkka Ollakka <ileoo@videolan.org>
Sun, 9 Sep 2007 08:09:30 +0000 (08:09 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 9 Sep 2007 08:09:30 +0000 (08:09 +0000)
current item.

modules/gui/qt4/dialogs/mediainfo.cpp

index c5b2a67b6cdeff862b4531701542d66dc2fa136c..a324715aa8591d9c49d14e878f6dacb88425a5c9 100644 (file)
@@ -143,7 +143,7 @@ void MediaInfoDialog::setInput( input_item_t *p_input )
      */
     input_thread_t *p_current =
                      MainInputManager::getInstance( p_intf )->getInput();
-    MP->setEditMode( ( !p_current || p_current->b_dead ) ? 
+    MP->setEditMode( ( !p_current || p_current->b_dead || input_GetItem( p_current ) != p_input ) ? 
                             true: false );
 }