aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.qml b/main.qml
index 757c615d..6b21c1f3 100644
--- a/main.qml
+++ b/main.qml
@@ -586,6 +586,9 @@ ApplicationWindow {
}
function onWalletUpdate() {
+ if (!currentWallet)
+ return;
+
console.log(">>> wallet updated")
updateBalance();
// Update history if new block found since last update