From bd959085f24ba5f9384d5cac5067392fe391e3a0 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Sun, 5 Mar 2017 00:05:31 +0100 Subject: [PATCH] update history when new block is found --- main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.qml b/main.qml index aa7235e5..47b7b15b 100644 --- a/main.qml +++ b/main.qml @@ -334,8 +334,8 @@ ApplicationWindow { console.log(">>> wallet updated") middlePanel.unlockedBalanceText = leftPanel.unlockedBalanceText = walletManager.displayAmount(currentWallet.unlockedBalance); middlePanel.balanceText = leftPanel.balanceText = walletManager.displayAmount(currentWallet.balance); - // Update history if new block found since last update and balance is locked. - if(foundNewBlock && currentWallet.history.locked) { + // Update history if new block found since last update + if(foundNewBlock) { foundNewBlock = false; console.log("New block found - updating history") currentWallet.history.refresh()