]> git.sesse.net Git - vlc/commitdiff
lua: Don't update a widget that was just created.
authorHugo Beauzée-Luyssen <beauze.h@gmail.com>
Wed, 6 Jul 2011 16:27:30 +0000 (18:27 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 7 Jul 2011 10:34:22 +0000 (12:34 +0200)
Ref: #5000
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/dialogs/extensions.cpp

index 006e8587f01404ae86a6ac9d93b0517aab0b1f7c..a0640b627016140018ea4d978ce41fa8f007dcd1 100644 (file)
@@ -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 )