diff --git a/electrum/gui/qml/components/Channels.qml b/electrum/gui/qml/components/Channels.qml index 794fd7c2f..a240bb445 100644 --- a/electrum/gui/qml/components/Channels.qml +++ b/electrum/gui/qml/components/Channels.qml @@ -125,7 +125,8 @@ Pane { Layout.fillWidth: true Layout.preferredWidth: 1 text: qsTr('Swap'); - enabled: Daemon.currentWallet.lightningCanSend.satsInt > 0 || Daemon.currentWallet.lightningCanReceive.satInt > 0 + enabled: Daemon.currentWallet.lightningCanSend.satsInt > 0 || + (Daemon.currentWallet.lightningCanReceive.satsInt > 0 && Daemon.currentWallet.confirmedBalance.satsInt > 0) icon.source: Qt.resolvedUrl('../../icons/update.png') onClicked: app.startSwap() }