diff options
author | Chris Lumens <clumens@redhat.com> | 2006-08-11 17:47:16 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-08-11 17:47:16 +0000 |
commit | 26ffb81aa9144f07f0be887d9ef0d6ddcd216393 (patch) | |
tree | 9b877dd26ca35b69eec25ef3d64580f940fb2f33 /dispatch.py | |
parent | 8cad2b81ffdb2ffdf91902d2209cd8bae88701e0 (diff) | |
download | anaconda-26ffb81aa9144f07f0be887d9ef0d6ddcd216393.tar.gz anaconda-26ffb81aa9144f07f0be887d9ef0d6ddcd216393.tar.xz anaconda-26ffb81aa9144f07f0be887d9ef0d6ddcd216393.zip |
Don't enable the back button if there's only non-interactive steps preceeding
the current one (#197766).
Diffstat (limited to 'dispatch.py')
-rw-r--r-- | dispatch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dispatch.py b/dispatch.py index 9979c67e6..ee480fff2 100644 --- a/dispatch.py +++ b/dispatch.py @@ -127,10 +127,10 @@ class Dispatcher: # we can not go backwards from this screen i = self.step - 1 while i >= self.firstStep: - if not self.skipSteps.has_key(installSteps[i][0]): - return 1 + if not self.stepIsDirect(i) and not self.skipSteps.has_key(installSteps[i][0]): + return True i = i - 1 - return 0 + return False def setStepList(self, *steps): # only remove non-permanently skipped steps from our skip list |