ThomasV 8 years ago
parent
commit
cf88b7f8a7
  1. 7
      gui/qt/main_window.py

7
gui/qt/main_window.py

@ -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…
Cancel
Save