immediately apply to new downstream connections (ConditionalShowHide is a bit special...
[enigma2.git] / lib / python / Components / Converter / ConditionalShowHide.py
index 137d246..8d9baf7 100644 (file)
@@ -8,3 +8,7 @@ class ConditionalShowHide(Converter, object):
        def changed(self, what):
                for x in self.downstream_elements:
                        x.visible = self.source.boolean ^ self.invert
+
+       def connectDownstream(self, downstream):
+               Converter.connectDownstream(self, downstream)
+               downstream.visible = self.source.boolean ^ self.invert