Commit 797a7fe2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

lua: Don't update a widget that was just created.

Ref: #5000
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 16567ae5
......@@ -528,6 +528,8 @@ void ExtensionDialog::UpdateWidgets()
widget->resize( p_widget->i_width, p_widget->i_height );
p_widget->p_sys_intf = widget;
this->resize( sizeHint() );
/* If an update was required, cancel it as we just created the widget */
p_widget->b_update = false;
}
else if( p_widget->p_sys_intf && !p_widget->b_kill
&& p_widget->b_update )
......
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