fix: return None if user presses cancel

This commit is contained in:
ThomasV 2013-12-17 07:10:40 +01:00
parent 0eead38332
commit 2fb738be59
1 changed files with 2 additions and 1 deletions

View 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()