[vlc-commits] skins2: fix forgotten notify in text control

Erwan Tulou git at videolan.org
Tue Apr 2 23:49:58 CEST 2013


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue Apr  2 23:38:47 2013 +0200| [e8ccdc609f1839785247399a416c7e26b59934ba] | committer: Erwan Tulou

skins2: fix forgotten notify in text control

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8ccdc609f1839785247399a416c7e26b59934ba
---

 modules/gui/skins2/controls/ctrl_text.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/gui/skins2/controls/ctrl_text.cpp b/modules/gui/skins2/controls/ctrl_text.cpp
index da48507..ee47fd0 100644
--- a/modules/gui/skins2/controls/ctrl_text.cpp
+++ b/modules/gui/skins2/controls/ctrl_text.cpp
@@ -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() );
     }
 }
 



More information about the vlc-commits mailing list