qml: close TxDetails on TX remove only after the 'removed_transaction' event has been received, so the
history model doesn't refresh too early (fixes #8782)
This commit is contained in:
@@ -473,10 +473,13 @@ Pane {
|
||||
var dialog = app.messageDialog.createObject(app, { text: message, yesno: true })
|
||||
dialog.accepted.connect(function() {
|
||||
txdetails.removeLocalTx(true)
|
||||
root.close()
|
||||
root.enabled = false
|
||||
})
|
||||
dialog.open()
|
||||
}
|
||||
onTxRemoved: {
|
||||
root.close()
|
||||
}
|
||||
Component.onCompleted: {
|
||||
if (root.txid) {
|
||||
txdetails.txid = root.txid
|
||||
|
||||
Reference in New Issue
Block a user