commit 2fb738be594c38ed33de97f53e477c6d3d230d42
parent 0eead383322274378ff755cbd4e2e0b2704c9464
Author: ThomasV <thomasv@gitorious>
Date: Tue, 17 Dec 2013 07:10:40 +0100
fix: return None if user presses cancel
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
@@ -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()