qt: close wizard after splitting an old multi-account wallet
instead of trying to open the old pre-split file
This commit is contained in:
@@ -304,7 +304,8 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||||||
if self.question(msg):
|
if self.question(msg):
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
self.show_warning(_('The file was removed'))
|
self.show_warning(_('The file was removed'))
|
||||||
return
|
# raise now, to avoid having the old storage opened
|
||||||
|
raise UserCancelled()
|
||||||
|
|
||||||
action = storage.get_action()
|
action = storage.get_action()
|
||||||
if action and storage.requires_upgrade():
|
if action and storage.requires_upgrade():
|
||||||
|
|||||||
Reference in New Issue
Block a user