X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f486b6a710f23e85fe79309151c9d32038690872..a29d455a1f7860faa7ca1f36586bfc6f6f3337c5:/lib/python/Screens/Setup.py diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index be10ba61..9f65daaa 100644 --- a/lib/python/Screens/Setup.py +++ b/lib/python/Screens/Setup.py @@ -50,7 +50,13 @@ class Setup(Screen): self["config"].handleKey(1) def keyRight(self): self["config"].handleKey(2) - + + def keySave(self): + print "save requested" + for x in self["config"]: + selection = self["config"].getCurrent() + selection.save() + def __init__(self, session, setup): Screen.__init__(self, session) @@ -78,5 +84,6 @@ class Setup(Screen): "cancel": self.close, "ok": self.keyOk, "left": self.keyLeft, - "right": self.keyRight + "right": self.keyRight, + "save": self.keySave })