aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/config.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-07 20:35:57 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-07 20:35:57 +0100
commita90424c0dc460b587898b65f6a89a564399ab551 (patch)
tree7af6bd0aa5c42fc1a06cdbd797f769db94f595e4 /lib/python/Components/config.py
parentbf172c73819b5c577d64afcf86c1eb8852a086a3 (diff)
downloadenigma2-a90424c0dc460b587898b65f6a89a564399ab551.tar.gz
enigma2-a90424c0dc460b587898b65f6a89a564399ab551.zip
fix non working invert of oled display
add non working standby slider in display setup
Diffstat (limited to 'lib/python/Components/config.py')
-rwxr-xr-xlib/python/Components/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index c21a9192..4ddcabec 100755
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -34,6 +34,7 @@ class ConfigElement(object):
self.save_disabled = False
self.notifiers = []
self.enabled = True
+ self.callNotifiersOnSaveAndCancel = False
# you need to override this to do input validation
def setValue(self, value):
@@ -66,9 +67,13 @@ class ConfigElement(object):
self.saved_value = None
else:
self.saved_value = self.tostring(self.value)
+ if self.callNotifiersOnSaveAndCancel:
+ self.changed()
def cancel(self):
self.load()
+ if self.callNotifiersOnSaveAndCancel:
+ self.changed()
def isChanged(self):
sv = self.saved_value