Pass window not window.app
This commit is contained in:
@@ -84,7 +84,7 @@ class Plugin(BasePlugin):
|
|||||||
self.wallet = wallet
|
self.wallet = wallet
|
||||||
self.wallet.plugin = self
|
self.wallet.plugin = self
|
||||||
if self.handler is None:
|
if self.handler is None:
|
||||||
self.handler = BTChipQTHandler(window.app)
|
self.handler = BTChipQTHandler(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(window, _('Error'), _("This wallet does not match your Ledger device"), _('OK'))
|
QMessageBox.information(window, _('Error'), _("This wallet does not match your Ledger device"), _('OK'))
|
||||||
|
|||||||
Reference in New Issue
Block a user