separate load_wallet hook for installwizard
This commit is contained in:
@@ -333,6 +333,11 @@ class Plugin(BasePlugin):
|
||||
t.setDaemon(True)
|
||||
t.start()
|
||||
|
||||
@hook
|
||||
def installwizard_load_wallet(self, wallet, window):
|
||||
self.wallet = wallet
|
||||
self.window = window
|
||||
|
||||
@hook
|
||||
def close_wallet(self):
|
||||
self.window.statusBar().removeWidget(self.trustedcoin_button)
|
||||
|
||||
Reference in New Issue
Block a user