git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reset choices of connectedTo on leaving the nim setup with the "EXIT"
[enigma2.git]
/
lib
/
python
/
Screens
/
Satconfig.py
diff --git
a/lib/python/Screens/Satconfig.py
b/lib/python/Screens/Satconfig.py
index a9bad427d938f7fe42a5d78caba2b6ca327eab4f..22b80f623625f1ebe62c81e3486bdd46e802a7dc 100644
(file)
--- 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()
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)
class NimSelection(Screen):
def __init__(self, session):
Screen.__init__(self, session)