Browse Source

qml: show correct delete confirm text for channel backups

master
Sander van Grieken 3 years ago
parent
commit
3cd3212921
  1. 4
      electrum/gui/qml/components/ChannelDetails.qml

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

Loading…
Cancel
Save