From ceed212e63209c5802a28c3ec86af8fa1c330800 Mon Sep 17 00:00:00 2001 From: xiphon Date: Fri, 3 May 2019 18:38:06 +0000 Subject: [PATCH] wallet: fix deadlock, omit invoking 'refresh' from callback Co-authored-by: Dusan Klinec --- main.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.qml b/main.qml index 23277d4e..df277c4c 100644 --- a/main.qml +++ b/main.qml @@ -722,7 +722,6 @@ ApplicationWindow { function onWalletMoneyReceived(txId, amount) { // refresh transaction history here - currentWallet.refresh() console.log("Confirmed money found") // history refresh is handled by walletUpdated currentWallet.history.refresh(currentWallet.currentSubaddressAccount) // this will refresh model @@ -744,7 +743,6 @@ ApplicationWindow { function onWalletMoneySent(txId, amount) { // refresh transaction history here console.log("monero sent found") - currentWallet.refresh() currentWallet.history.refresh(currentWallet.currentSubaddressAccount); // this will refresh model if(middlePanel.state == "History")