Commit d2b84199 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Fix an 'assertion failed' when opening the media information witout an input.

parent 3a3b9f86
......@@ -89,7 +89,9 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
CONNECT( IT, currentChanged( int ), this, updateButtons( int ) );
CONNECT( THEMIM, inputChanged( input_thread_t * ), this, update( input_thread_t * ) );
/* Call update by hand, so info is shown from current item too */
if( THEMIM->getInput() )
update( input_GetItem(THEMIM->getInput()), true, true );
}
......
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