refs bug #429
[enigma2.git] / lib / python / Components / Renderer / Label.py
index 1d06a21..e660de1 100644 (file)
@@ -12,7 +12,11 @@ class Label(VariableText, Renderer):
 
        def connect(self, source):
                Renderer.connect(self, source)
-               self.changed()
+               self.changed((self.CHANGED_DEFAULT,))
+
+       def changed(self, what):
+               if what[0] == self.CHANGED_CLEAR:
+                       self.text = ""
+               else:
+                       self.text = self.source.text
 
-       def changed(self):
-               self.text = self.source.text