commit 4794ccfaf2a9bb555843e52d1c52ff4eeb292acc
parent be172e2a953f9c94a7a3675c105c030de07c8c91
Author: ThomasV <thomasv@gitorious>
Date: Wed, 18 Feb 2015 18:41:25 +0100
hide/show main window when wizard is called
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/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()