thide/show main window when wizard is called - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 4794ccfaf2a9bb555843e52d1c52ff4eeb292acc
DIR parent be172e2a953f9c94a7a3675c105c030de07c8c91
HTML Author: ThomasV <thomasv@gitorious>
Date: Wed, 18 Feb 2015 18:41:25 +0100
hide/show main window when wizard is called
Diffstat:
M gui/qt/main_window.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -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()