From a3e05195c04f5fd7634ea9c23e6a7d9843f9f7cf Mon Sep 17 00:00:00 2001 From: selsta Date: Sun, 22 Oct 2023 16:41:19 +0200 Subject: [PATCH] main: fix qml warning --- main.qml | 3 +++ 1 file changed, 3 insertions(+) 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