aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ConfigList.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-07-09 16:53:27 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-07-09 16:53:27 +0000
commit669723ea96dadeca85546e498ea3ede3e619ef4c (patch)
tree021d10d8370c23ccb0eaafde7b04fa8842a68743 /lib/python/Components/ConfigList.py
parent521be41ccb6d99069edb9211e81333141d71d326 (diff)
downloadenigma2-669723ea96dadeca85546e498ea3ede3e619ef4c.tar.gz
enigma2-669723ea96dadeca85546e498ea3ede3e619ef4c.zip
add method saveAll to ConfigListScreen
Diffstat (limited to 'lib/python/Components/ConfigList.py')
-rw-r--r--lib/python/Components/ConfigList.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py
index 9a68d428..122d0123 100644
--- a/lib/python/Components/ConfigList.py
+++ b/lib/python/Components/ConfigList.py
@@ -172,12 +172,15 @@ class ConfigListScreen:
def keyNumberGlobal(self, number):
self["config"].handleKey(KEY_0 + number)
self.__changed()
+
+ def saveAll(self):
+ for x in self["config"].list:
+ x[1].save()
# keySave and keyCancel are just provided in case you need them.
# you have to call them by yourself.
def keySave(self):
- for x in self["config"].list:
- x[1].save()
+ self.saveAll()
self.close()
def cancelConfirm(self, result):