ThomasV 4 years ago
parent
commit
7e36770a06
  1. 3
      electrum/gui/qt/installwizard.py

3
electrum/gui/qt/installwizard.py

@ -248,6 +248,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
nonlocal temp_storage
temp_storage = None
msg = None
if filename:
path = os.path.join(wallet_folder, filename)
wallet_from_memory = get_wallet_from_daemon(path)
try:
@ -260,6 +261,8 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
except Exception as e:
self.logger.exception('')
msg = _('Cannot read file') + f'\n{repr(e)}'
else:
msg = _('')
self.next_button.setEnabled(temp_storage is not None)
user_needs_to_enter_password = False
if temp_storage:

Loading…
Cancel
Save