|
@ -74,6 +74,8 @@ class Plugin(BasePlugin): |
|
|
|
|
|
|
|
|
@hook |
|
|
@hook |
|
|
def load_wallet(self, wallet, window): |
|
|
def load_wallet(self, wallet, window): |
|
|
|
|
|
self.wallet = wallet |
|
|
|
|
|
self.window = window |
|
|
if self.btchip_is_connected(): |
|
|
if self.btchip_is_connected(): |
|
|
if not self.wallet.check_proper_device(): |
|
|
if not self.wallet.check_proper_device(): |
|
|
QMessageBox.information(self.window, _('Error'), _("This wallet does not match your BTChip device"), _('OK')) |
|
|
QMessageBox.information(self.window, _('Error'), _("This wallet does not match your BTChip device"), _('OK')) |
|
|