Browse Source

qt: add note in wizard if wallet path is outside the default wallets folder

master
Sander van Grieken 2 years ago
parent
commit
24323d21a2
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 2
      electrum/gui/qt/wizard/wallet.py

2
electrum/gui/qt/wizard/wallet.py

@ -363,6 +363,8 @@ class WCWalletName(WizardComponent, Logger):
+ _("Press 'Finish' to create/focus window.")
if msg is None:
msg = _('Cannot read file')
if filename and os.path.isabs(relative_path(_path)):
msg += '\n\n' + _('Note: this wallet file is outside the default wallets folder.')
msg_label.setText(msg)
widget_create_new.setVisible(bool(temp_storage and temp_storage.file_exists()))
if user_needs_to_enter_password:

Loading…
Cancel
Save