fix storing of advanced satconfig out of the start wizard
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 7 Mar 2006 21:35:56 +0000 (21:35 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 7 Mar 2006 21:35:56 +0000 (21:35 +0000)
lib/python/Screens/Satconfig.py

index 9ccd209..936e5d1 100644 (file)
@@ -90,6 +90,8 @@ class NimSetup(Screen):
                        self["config"].handleKey(config.key[str(number)])
 
        def run(self):
+               if currentConfigSelectionElement(config.Nims[self.nim.slotid].configMode) == "advanced":
+                       self.fillAdvancedList()
                for x in self["config"].list:
                        x[1].save()
                nimmanager.sec.update()
@@ -152,8 +154,6 @@ class NimSetup(Screen):
                self["config"].list = self.list
 
        def keySave(self):
-               if currentConfigSelectionElement(config.Nims[self.nim.slotid].configMode) == "advanced":
-                       self.fillAdvancedList()
                self.run()
                self.close()