aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-11-06 09:48:06 -0500
committerluigi1111 <luigi1111w@gmail.com>2023-11-06 09:48:06 -0500
commitfdd406ac95bc286761307ea7e1acd8d457789f53 (patch)
tree4d4a68546c7f4a65d7f64e5c7bae65c9cd3253e7
parent4a7e26b81266fe6713d7fc0430e19e6ddbda2321 (diff)
parenta3e05195c04f5fd7634ea9c23e6a7d9843f9f7cf (diff)
downloadmonzero-gui-fdd406ac95bc286761307ea7e1acd8d457789f53.tar.gz
monzero-gui-fdd406ac95bc286761307ea7e1acd8d457789f53.tar.xz
monzero-gui-fdd406ac95bc286761307ea7e1acd8d457789f53.zip
Merge pull request #4234
a3e0519 main: fix qml warning (selsta)
-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