1
0

qml: show correct delete confirm text for channel backups

This commit is contained in:
Sander van Grieken
2023-02-03 17:13:11 +01:00
parent b4d2c902c4
commit 3cd3212921

View File

@@ -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() {