git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[enigma2.git]
/
lib
/
python
/
Components
/
Converter
/
ConditionalShowHide.py
diff --git
a/lib/python/Components/Converter/ConditionalShowHide.py
b/lib/python/Components/Converter/ConditionalShowHide.py
index 56fb1453aef5e14a8debef7b59c91fc60da369fe..137d246e33b7e2a382edbdbc8e0f22fc8b274d15 100644
(file)
--- a/
lib/python/Components/Converter/ConditionalShowHide.py
+++ b/
lib/python/Components/Converter/ConditionalShowHide.py
@@
-1,11
+1,10
@@
from Converter import Converter
class ConditionalShowHide(Converter, object):
from Converter import Converter
class ConditionalShowHide(Converter, object):
-
- def __init__(self, type, *args, **kwargs):
- Converter.__init__(self)
+ def __init__(self, type):
+ Converter.__init__(self, type)
self.invert = type == "Invert"
self.invert = type == "Invert"
- def changed(self):
+ def changed(self
, what
):
for x in self.downstream_elements:
for x in self.downstream_elements:
- x.visible = self.source.boolean
+ x.visible = self.source.boolean
^ self.invert