From 179666612ea2778e4afb694214952123c9f655ec Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Wed, 31 Aug 2022 13:31:19 +0200 Subject: [PATCH] qml: fix get_request in qerequestdetails --- electrum/gui/qml/qerequestdetails.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electrum/gui/qml/qerequestdetails.py b/electrum/gui/qml/qerequestdetails.py index 8b043437d..06b6312e9 100644 --- a/electrum/gui/qml/qerequestdetails.py +++ b/electrum/gui/qml/qerequestdetails.py @@ -64,7 +64,7 @@ class QERequestDetails(QObject): statusChanged = pyqtSignal() @pyqtProperty(int, notify=statusChanged) def status(self): - req = self._wallet.get_request(self._key) + req = self._wallet.wallet.get_request(self._key) return self._wallet.wallet.get_invoice_status(req) statusStringChanged = pyqtSignal() @@ -72,7 +72,6 @@ class QERequestDetails(QObject): def status_str(self): return self._req.get_status_str(self.status) - @pyqtProperty(bool, notify=detailsChanged) def isLightning(self): return self._req.is_lightning()