use config callbacks from instantiated dialog in wizard screens
[enigma2.git] / lib / python / Screens / Wizard.py
index 9f87ee3..cee057d 100644 (file)
@@ -522,9 +522,11 @@ class Wizard(Screen):
                                                else:
                                                        self.configInstance = self.session.instantiateDialog(self.wizard[self.currStep]["config"]["screen"], eval(self.wizard[self.currStep]["config"]["args"]))
                                                self["config"].l.setList(self.configInstance["config"].list)
+                                               callbacks = self.configInstance["config"].onSelectionChanged
                                                self.configInstance["config"].destroy()
                                                print "clearConfigList", self.configInstance["config"], self["config"] 
                                                self.configInstance["config"] = self["config"]
+                                               self.configInstance["config"].onSelectionChanged = callbacks
                                                print "clearConfigList", self.configInstance["config"], self["config"]
                                else:
                                        self["config"].l.setList([])