mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
fix #2453
This commit is contained in:
parent
2a53e85e8d
commit
cf88b7f8a7
1 changed files with 0 additions and 7 deletions
|
@ -411,14 +411,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||||
i += 1
|
i += 1
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
filename = line_dialog(self, _('New Wallet'), _('Enter file name')
|
|
||||||
+ ':', _('OK'), filename)
|
|
||||||
if not filename:
|
|
||||||
return
|
|
||||||
full_path = os.path.join(wallet_folder, filename)
|
full_path = os.path.join(wallet_folder, filename)
|
||||||
if os.path.exists(full_path):
|
|
||||||
self.show_critical(_("File exists"))
|
|
||||||
return
|
|
||||||
self.gui_object.start_new_window(full_path, None)
|
self.gui_object.start_new_window(full_path, None)
|
||||||
|
|
||||||
def init_menubar(self):
|
def init_menubar(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue