qml: fix Open Channel button enable when amount changes
This commit is contained in:
@@ -172,7 +172,7 @@ ElDialog {
|
|||||||
Layout.preferredWidth: amountFontMetrics.advanceWidth('0') * 14 + leftPadding + rightPadding
|
Layout.preferredWidth: amountFontMetrics.advanceWidth('0') * 14 + leftPadding + rightPadding
|
||||||
onTextAsSatsChanged: {
|
onTextAsSatsChanged: {
|
||||||
if (!is_max.checked)
|
if (!is_max.checked)
|
||||||
channelopener.amount.satsInt = amountBtc.textAsSats.satsInt
|
channelopener.amount = amountBtc.textAsSats
|
||||||
}
|
}
|
||||||
readOnly: is_max.checked
|
readOnly: is_max.checked
|
||||||
color: readOnly
|
color: readOnly
|
||||||
|
|||||||
Reference in New Issue
Block a user