1
0

Merge pull request #9975 from SomberNight/202506_qml_lnurl_btn_disabled

qml: set BtcField.textAsSats initial value to match its text
This commit is contained in:
accumulator
2025-06-24 12:54:19 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -32,5 +32,5 @@ TextField {
}
}
Component.onCompleted: textAsSats = Config.unitsToSats('')
Component.onCompleted: amount.textChanged()
}

View File

@@ -155,7 +155,7 @@ class QEInvoice(QObject, QtEventListener):
return self._amountOverride
@amountOverride.setter
def amountOverride(self, new_amount):
def amountOverride(self, new_amount: QEAmount):
self._logger.debug(f'set new override amount {repr(new_amount)}')
self._amountOverride.copyFrom(new_amount)
self.amountOverrideChanged.emit()