X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f..669723ea96dadeca85546e498ea3ede3e619ef4c:/lib/python/Components/ConfigList.py 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):