1
0

qml: remove editmode toggle, now enabled only on amount-less invoices

This commit is contained in:
Sander van Grieken
2023-03-17 16:44:26 +01:00
parent c3a0f9c078
commit 24a3d6e10f
2 changed files with 24 additions and 48 deletions

View File

@@ -179,6 +179,7 @@ class QEInvoiceParser(QEInvoice):
self.canPay = False
self._recipient = recipient
self._lnurlData = None
self.amountOverride = QEAmount()
if recipient:
self.validateRecipient(recipient)
self.recipientChanged.emit()
@@ -327,6 +328,8 @@ class QEInvoiceParser(QEInvoice):
if interval > 0:
self._timer.setInterval(interval) # msec
self._timer.start()
else:
self.determine_can_pay() # status went to PR_EXPIRED
@pyqtSlot()
def updateStatusString(self):