diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py index 33a9e6af..2cc9dd10 100644 --- a/plugins/btchipwallet.py +++ b/plugins/btchipwallet.py @@ -95,6 +95,8 @@ class Plugin(BasePlugin): @hook def installwizard_load_wallet(self, wallet, window): + if type(wallet) != BTChipWallet: + return self.load_wallet(wallet, window) @hook diff --git a/plugins/keepkey.py b/plugins/keepkey.py index ee2e6aac..2aba2381 100644 --- a/plugins/keepkey.py +++ b/plugins/keepkey.py @@ -147,6 +147,8 @@ class Plugin(BasePlugin): @hook def installwizard_load_wallet(self, wallet, window): + if type(wallet) != KeepKeyWallet: + return self.load_wallet(wallet, window) @hook diff --git a/plugins/trezor.py b/plugins/trezor.py index 5eb6eb9c..9e4d5fb8 100644 --- a/plugins/trezor.py +++ b/plugins/trezor.py @@ -147,6 +147,8 @@ class Plugin(BasePlugin): @hook def installwizard_load_wallet(self, wallet, window): + if type(wallet) != TrezorWallet: + return self.load_wallet(wallet, window) @hook