summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'text.py')
-rw-r--r--text.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/text.py b/text.py
index 8d2106617..c5c2d84fb 100644
--- a/text.py
+++ b/text.py
@@ -1005,6 +1005,14 @@ class InstallInterface:
dir = 1
self.step = self.step + dir
+ if self.step < 0:
+ ButtonChoiceWindow(self.screen, _("Cancelled"),
+ _("I can't go to the previous step"
+ " from here. You will have to try again."),
+ buttons = [ _("OK") ])
+
+ self.step = 0
+ dir = 1
self.screen.finish ()
def killSelf(screen):