aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-07-21 10:02:00 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-07-21 10:02:00 +0000
commit5971f0ab2c372e63db191a29c27a68d01247e25e (patch)
treedb14de87e2f87d81ce89ae085215e0d84aa18eb0 /lib/python
parentd3d307bdd570c94556dffb9fb74a10621e6a2d2d (diff)
downloadenigma2-5971f0ab2c372e63db191a29c27a68d01247e25e.tar.gz
enigma2-5971f0ab2c372e63db191a29c27a68d01247e25e.zip
reset choices of connectedTo on leaving the nim setup with the "EXIT"
button
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Satconfig.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py
index a9bad427..22b80f62 100644
--- a/lib/python/Screens/Satconfig.py
+++ b/lib/python/Screens/Satconfig.py
@@ -356,6 +356,16 @@ class NimSetup(Screen, ConfigListScreen):
for x in self["config"].list:
x[1].save()
+ def cancelConfirm(self, result):
+ if not result:
+ return
+
+ for x in self["config"].list:
+ x[1].cancel()
+ # we need to call saveAll to reset the connectedTo choices
+ self.saveAll()
+ self.close()
+
class NimSelection(Screen):
def __init__(self, session):
Screen.__init__(self, session)