Browse Source

hide/show main window when wizard is called

283
ThomasV 10 years ago
parent
commit
4794ccfaf2
  1. 2
      gui/qt/main_window.py

2
gui/qt/main_window.py

@ -340,12 +340,14 @@ class ElectrumWindow(QMainWindow):
QMessageBox.critical(None, "Error", _("File exists"))
return
self.hide()
if self.wallet:
self.close_wallet()
wizard = installwizard.InstallWizard(self.config, self.network, storage)
wallet = wizard.run('new')
if wallet:
self.load_wallet(wallet)
self.show()

Loading…
Cancel
Save