commit 4e458b5639b7bbbeeed70e57951094e7634c89e1
parent 0cb8c2113040ce693f4ec42adad5fc384d6b5636
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 2 Sep 2015 10:09:48 +0200
minor fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -229,8 +229,8 @@ class ElectrumWindow(QMainWindow):
self.account_selector.hide()
def close_wallet(self):
- print_error('close_wallet', self.wallet.storage.path)
if self.wallet:
+ print_error('close_wallet', self.wallet.storage.path)
self.wallet.storage.put('accounts_expanded', self.accounts_expanded)
self.wallet.stop_threads()
run_hook('close_wallet')