|
|
|
@ -242,7 +242,9 @@ Pane { |
|
|
|
visible: channeldetails.canDelete |
|
|
|
visible: channeldetails.canDelete |
|
|
|
onClicked: { |
|
|
|
onClicked: { |
|
|
|
var dialog = app.messageDialog.createObject(root, { |
|
|
|
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 |
|
|
|
yesno: true |
|
|
|
}) |
|
|
|
}) |
|
|
|
dialog.yesClicked.connect(function() { |
|
|
|
dialog.yesClicked.connect(function() { |
|
|
|
|