minor fix

This commit is contained in:
ThomasV 2015-09-02 10:09:48 +02:00
parent 0cb8c21130
commit 4e458b5639

View file

@ -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')