fix: return None if user presses cancel
authorThomasV <thomasv@gitorious>
Tue, 17 Dec 2013 06:10:40 +0000 (07:10 +0100)
committerThomasV <thomasv@gitorious>
Tue, 17 Dec 2013 06:10:40 +0000 (07:10 +0100)
gui/qt/installwizard.py

index 722b969..3d320c9 100644 (file)
@@ -178,7 +178,8 @@ class InstallWizard(QDialog):
         vbox.addLayout(ok_cancel_buttons(self, _('Next')))
 
         self.set_layout(vbox)
-        if not self.exec_(): return None, None
+        if not self.exec_(): 
+            return None
 
         mpk = str(mpk_e.toPlainText()).strip()
         chain = str(chain_e.toPlainText()).strip()