]> git.sesse.net Git - vlc/commitdiff
skins2: fix forgotten notify in text control
authorErwan Tulou <erwan10@videolan.org>
Tue, 2 Apr 2013 21:38:47 +0000 (23:38 +0200)
committerErwan Tulou <erwan10@videolan.org>
Tue, 2 Apr 2013 21:48:38 +0000 (23:48 +0200)
modules/gui/skins2/controls/ctrl_text.cpp

index da48507ebce52fadd9b032a384417e522ea7c446..ee47fd0e395e7e8fb8bbd63cecb30fb761b1e2c1 100644 (file)
@@ -236,8 +236,10 @@ void CtrlText::onUpdate( Subject<VarBool> &rVariable, void *arg  )
         {
             setPictures( m_rVariable.get() );
             updateContext();
-            notifyLayout( getPosition()->getWidth(), getPosition()->getHeight() );
         }
+
+        // notify in any case
+        notifyLayout( getPosition()->getWidth(), getPosition()->getHeight() );
     }
 }