From 91a72646bacf48905791a2357fd2f79e7ae3c8d6 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 10 Mar 2025 21:36:07 +0100 Subject: [PATCH] qml: fix Open Channel button enable when amount changes --- electrum/gui/qml/components/OpenChannelDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/OpenChannelDialog.qml b/electrum/gui/qml/components/OpenChannelDialog.qml index facff3d6e..7e82cd1a9 100644 --- a/electrum/gui/qml/components/OpenChannelDialog.qml +++ b/electrum/gui/qml/components/OpenChannelDialog.qml @@ -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