summaryrefslogtreecommitdiffstats
path: root/iw/progress.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/progress.py')
-rw-r--r--iw/progress.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/iw/progress.py b/iw/progress.py
index b0ed5e85c..3f74ca1ba 100644
--- a/iw/progress.py
+++ b/iw/progress.py
@@ -13,9 +13,12 @@ class DoInstall (Thread):
Thread.__init__ (self)
def run (self):
- self.todo.doInstall ()
+ rc = self.todo.doInstall ()
threads_enter ()
- self.icw.nextClicked ()
+ if rc:
+ self.icw.prevClicked ()
+ else:
+ self.icw.nextClicked ()
threads_leave ()
class InstallProgressWindow (InstallWindow):