Commit 00749a2f authored by Ilkka Ollakka's avatar Ilkka Ollakka

fix a littlebit that hack about setting editing mode in infopanel

parent 58c603a4
......@@ -142,7 +142,12 @@ void MediaInfoDialog::setInput( input_item_t *p_input )
*
* This really doesn't seem as clean solution as it could be
*/
in_edit = ( input_GetItem( MainInputManager::getInstance( p_intf )->getInput() ) != p_input );
input_thread_t *p_current =
MainInputManager::getInstance( p_intf )->getInput();
if( !p_current || p_current->b_dead )
in_edit = true;
else
in_edit = ( input_GetItem( p_current ) != p_input );
MP->setEdit( in_edit );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment