diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-04-25 18:06:40 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-04-25 18:06:40 +0000 |
| commit | 5e54297861cae8b00c8ff52865bcd1333ada61a2 (patch) | |
| tree | 37794b7c518c567931cfc626c23f9acf11991e79 /lib/python/Screens/Wizard.py | |
| parent | 04686c6d059d527c3b6e98d4fa8a82a226e2ce65 (diff) | |
| download | enigma2-5e54297861cae8b00c8ff52865bcd1333ada61a2.tar.gz enigma2-5e54297861cae8b00c8ff52865bcd1333ada61a2.zip | |
wizard steps start with 1, not 0
Diffstat (limited to 'lib/python/Screens/Wizard.py')
| -rw-r--r-- | lib/python/Screens/Wizard.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
