From 3cd32129217f45e8ac35b039ad960fec721ac142 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 3 Feb 2023 17:13:11 +0100 Subject: [PATCH] qml: show correct delete confirm text for channel backups --- electrum/gui/qml/components/ChannelDetails.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/ChannelDetails.qml b/electrum/gui/qml/components/ChannelDetails.qml index 243f033a5..22d5b75f3 100644 --- a/electrum/gui/qml/components/ChannelDetails.qml +++ b/electrum/gui/qml/components/ChannelDetails.qml @@ -242,7 +242,9 @@ Pane { visible: channeldetails.canDelete onClicked: { var dialog = app.messageDialog.createObject(root, { - text: qsTr('Are you sure you want to delete this channel? This will purge associated transactions from your wallet history.'), + text: channeldetails.isBackup + ? qsTr('Are you sure you want to delete this channel backup?') + : qsTr('Are you sure you want to delete this channel? This will purge associated transactions from your wallet history.'), yesno: true }) dialog.yesClicked.connect(function() {