aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-07 11:03:59 +0000
committerRiccardo Spagni <ric@spagni.net>2017-03-07 11:03:59 +0000
commit632d347d071adac0aee02837f1616d2abf745eee (patch)
tree9d611d5faf192a522210122be7a17a8c0d100421
parent7a79d318a601d775ae848b75f9f35e5875350507 (diff)
parentbd959085f24ba5f9384d5cac5067392fe391e3a0 (diff)
downloadmonzero-gui-632d347d071adac0aee02837f1616d2abf745eee.tar.gz
monzero-gui-632d347d071adac0aee02837f1616d2abf745eee.tar.xz
monzero-gui-632d347d071adac0aee02837f1616d2abf745eee.zip
Merge pull request #541
bd95908 update history when new block is found (Jaquee)
-rw-r--r--main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index 65c59a54..9b0ebd51 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()