add possibility to use ValueRange as ValueEqual Converter
[enigma2.git] / lib / python / Components / Converter / ConditionalShowHide.py
index cc98288..137d246 100644 (file)
@@ -1,11 +1,10 @@
 from Converter import Converter
 
 class ConditionalShowHide(Converter, object):
-
        def __init__(self, type):
                Converter.__init__(self, type)
                self.invert = type == "Invert"
 
        def changed(self, what):
                for x in self.downstream_elements:
-                       x.visible = self.source.boolean
+                       x.visible = self.source.boolean ^ self.invert