From: Ilkka Ollakka Date: Sun, 9 Sep 2007 08:09:30 +0000 (+0000) Subject: add back check to see if infopanel is opened for something else than X-Git-Tag: 0.9.0-test0~5743 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=69518c73ce826bdf5e56d10294cccd8672dd8e16;p=vlc add back check to see if infopanel is opened for something else than current item. --- diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp index c5b2a67b6c..a324715aa8 100644 --- a/modules/gui/qt4/dialogs/mediainfo.cpp +++ b/modules/gui/qt4/dialogs/mediainfo.cpp @@ -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 ); }