Commit f7b9cb96 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>
(cherry picked from commit 797a7fe2e200fbe8ae478f62e530e2a03226a5e2)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3b336d04
......@@ -519,6 +519,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