1
0

qt: show start-up wizard in case of exception

related: #4355
This commit is contained in:
SomberNight
2018-05-11 00:03:01 +02:00
parent dae187bada
commit f0657a3507
2 changed files with 9 additions and 5 deletions

View File

@@ -227,10 +227,10 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
self.name_e.setText(n)
while True:
if self.storage.file_exists() and not self.storage.is_encrypted():
break
if self.loop.exec_() != 2: # 2 = next
return
if self.storage.file_exists() and not self.storage.is_encrypted():
break
if not self.storage.file_exists():
break
wallet_from_memory = get_wallet_from_daemon(self.storage.path)