1
0

qml: fix Open Channel button enable when amount changes

This commit is contained in:
Sander van Grieken
2025-03-10 21:36:07 +01:00
parent 95a8959714
commit 91a72646ba

View File

@@ -172,7 +172,7 @@ ElDialog {
Layout.preferredWidth: amountFontMetrics.advanceWidth('0') * 14 + leftPadding + rightPadding
onTextAsSatsChanged: {
if (!is_max.checked)
channelopener.amount.satsInt = amountBtc.textAsSats.satsInt
channelopener.amount = amountBtc.textAsSats
}
readOnly: is_max.checked
color: readOnly