mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-11 13:09:52 +00:00
hide/show main window when wizard is called
This commit is contained in:
parent
be172e2a95
commit
4794ccfaf2
1 changed files with 2 additions and 0 deletions
|
@ -340,12 +340,14 @@ class ElectrumWindow(QMainWindow):
|
||||||
QMessageBox.critical(None, "Error", _("File exists"))
|
QMessageBox.critical(None, "Error", _("File exists"))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.hide()
|
||||||
if self.wallet:
|
if self.wallet:
|
||||||
self.close_wallet()
|
self.close_wallet()
|
||||||
wizard = installwizard.InstallWizard(self.config, self.network, storage)
|
wizard = installwizard.InstallWizard(self.config, self.network, storage)
|
||||||
wallet = wizard.run('new')
|
wallet = wizard.run('new')
|
||||||
if wallet:
|
if wallet:
|
||||||
self.load_wallet(wallet)
|
self.load_wallet(wallet)
|
||||||
|
self.show()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue