1
0

qml: remove yesClicked signal, use accept()/accepted signal in MessageDialog.

This commit is contained in:
Sander van Grieken
2023-04-11 10:22:48 +02:00
parent 697bf2b1c8
commit 75f63a4666
8 changed files with 14 additions and 25 deletions

View File

@@ -249,7 +249,7 @@ Pane {
: 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() {
dialog.accepted.connect(function() {
channeldetails.deleteChannel()
app.stack.pop()
Daemon.currentWallet.historyModel.init_model(true) // needed here?