From: Stefan Pluecken Date: Fri, 25 Apr 2008 18:06:40 +0000 (+0000) Subject: wizard steps start with 1, not 0 X-Git-Tag: 2.6.0~1292 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/5e54297861cae8b00c8ff52865bcd1333ada61a2?ds=sidebyside wizard steps start with 1, not 0 --- diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 1d099c9b..58697fe8 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -384,7 +384,7 @@ class Wizard(Screen, HelpableScreen): print "Updating values in step " + str(self.currStep) # calling a step which doesn't exist can only happen if the condition in the last step is not fulfilled # if a non-existing step is called, end the wizard - if self.currStep >= len(self.wizard): + if self.currStep > len(self.wizard): self.markDone() self.close() return