aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-05-03 18:38:06 +0000
committerxiphon <xiphon@protonmail.com>2019-05-03 18:43:11 +0000
commitceed212e63209c5802a28c3ec86af8fa1c330800 (patch)
tree0bb6cd16d0af08f62dda9985dc82ad009cb9f401
parent1f2f08190ac9e80c954f08f49cfd6f3c46e528a5 (diff)
downloadmonzero-gui-ceed212e63209c5802a28c3ec86af8fa1c330800.tar.gz
monzero-gui-ceed212e63209c5802a28c3ec86af8fa1c330800.tar.xz
monzero-gui-ceed212e63209c5802a28c3ec86af8fa1c330800.zip
wallet: fix deadlock, omit invoking 'refresh' from callback
Co-authored-by: Dusan Klinec <dusan.klinec@gmail.com>
-rw-r--r--main.qml2
1 files changed, 0 insertions, 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")