summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-09-01 15:32:39 +0000
committerErik Troan <ewt@redhat.com>1999-09-01 15:32:39 +0000
commit85c63334d8fc556f2ba5562712d865953059e212 (patch)
treecb562aab93dc968b6a67eb54ce375cc8ee79f244 /gui.py
parent3f92666dcb0171105dfc38eff8b31fec2c983e92 (diff)
downloadanaconda-85c63334d8fc556f2ba5562712d865953059e212.tar.gz
anaconda-85c63334d8fc556f2ba5562712d865953059e212.tar.xz
anaconda-85c63334d8fc556f2ba5562712d865953059e212.zip
skip steps stuff didn't work properly for insterted screens
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui.py b/gui.py
index 12104746d..5101272fb 100755
--- a/gui.py
+++ b/gui.py
@@ -203,7 +203,8 @@ class InstallControlWindow (Thread):
def setScreen (self, screen, direction):
# if getScreen returns None, or we're supposed to skip this screen
# entirely, we continue advancing in direction given
- if self.todo.instClass.skipStep(self.stateTagByWindow[screen]):
+ if (self.stateTagByWindow.has_key(screen) and
+ self.todo.instClass.skipStep(self.stateTagByWindow[screen])):
direction ()
return
new_screen = screen.getScreen ()