1
0

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

This commit is contained in:
Sander van Grieken
2023-11-30 12:47:28 +01:00
parent b59e9089a0
commit 24323d21a2

View File

@@ -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: