1
0

Have close_wallet hook take a wallet.

This commit is contained in:
Neil Booth
2015-12-31 10:31:49 +09:00
parent b8f2d9dfd4
commit 93d05e8cfe
4 changed files with 5 additions and 10 deletions

View File

@@ -244,7 +244,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.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')
run_hook('close_wallet', self.wallet)
def load_wallet(self, wallet):
self.wallet = wallet