1
0

wizzard: ensure ensure on_wizard_complete is called

This commit is contained in:
qua-non
2014-02-22 10:25:26 +05:30
committed by ThomasV
parent 23fe2062a1
commit f33fbefce0
3 changed files with 8 additions and 6 deletions

View File

@@ -158,8 +158,8 @@ class ElectrumWindow(App):
def on_wizard_complete(self, instance, wallet):
if not wallet:
Logger.debug('Electrum: No Wallet set/found. Exiting...')
self.stop()
sys.exit()
app.show_error('Electrum: No Wallet set/found. Exiting...',
exit=True)
return
# plugins that need to change the GUI do it here