diff options
Diffstat (limited to 'lib/python/Screens/Wizard.py')
| -rw-r--r-- | lib/python/Screens/Wizard.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index e574f861..1b133152 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -459,14 +459,14 @@ class WizardManager: def __init__(self): self.wizards = [] - def registerWizard(self, wizard, precondition): - self.wizards.append((wizard, precondition)) + def registerWizard(self, wizard, precondition, priority = 0): + self.wizards.append((wizard, precondition, priority)) def getWizards(self): list = [] for x in self.wizards: if x[1] == 1: # precondition - list.append(x[0]) + list.append((x[2], x[0])) return list wizardManager = WizardManager() |
