diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index d968690789d..cc0e59dcd7f 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -677,11 +677,12 @@ def ChangeConfigValueCallback(self, callback=None): print(self["config"].getCurrent()[1].value) if isinstance(self["config"].getCurrent()[1], ConfigSelection): self["config"].getCurrent()[1].setValue(callback[1]) + print(self["config"].getCurrent()[1].value, list(self["config"].getCurrent()[1].choices)) else: self["config"].getCurrent()[1].setValue(callback) - print(self["config"].getCurrent()[1].value, list(self["config"].getCurrent()[1].choices)) self["config"].invalidate(self["config"].getCurrent()) - self.configInstance.entryChanged() + if self.configInstance: + self.configInstance.entryChanged() class WizardManager: