use single argument only
[enigma2.git] / lib / python / Components / Converter / ConditionalShowHide.py
1 from Converter import Converter
2
3 class ConditionalShowHide(Converter, object):
4
5         def __init__(self, type):
6                 Converter.__init__(self, type)
7                 self.invert = type == "Invert"
8
9         def changed(self):
10                 for x in self.downstream_elements:
11                         x.visible = self.source.boolean