Browse Source

qml: fix get_request in qerequestdetails

patch-4
Sander van Grieken 2 years ago
parent
commit
179666612e
  1. 3
      electrum/gui/qml/qerequestdetails.py

3
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()

Loading…
Cancel
Save