Commit 67d1feb2 authored by Antoine Cellerier's avatar Antoine Cellerier

Make sure that the progress bar dialog exists before updating its status.

parent 355e0a37
......@@ -375,7 +375,7 @@ void __intf_UserProgressUpdate( vlc_object_t *p_this, int i_id,
vlc_mutex_lock( &p_interaction->object_lock );
p_dialog = intf_InteractionGetById( p_this, i_id );
if( !p_dialog )
if( !p_dialog || p_dialog->i_status == NEW_DIALOG )
{
vlc_mutex_unlock( &p_interaction->object_lock ) ;
return;
......
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