From f75aa22b2681c1d96c41d2f722d5c993a63c82f1 Mon Sep 17 00:00:00 2001 From: xiphon Date: Wed, 27 Nov 2019 09:14:35 +0000 Subject: [PATCH] main: omit onWalletRefresh call with uninitialized currentWallet --- main.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.qml b/main.qml index 6696b952..8522267a 100644 --- a/main.qml +++ b/main.qml @@ -2035,7 +2035,9 @@ ApplicationWindow { // some fields need an extra nudge when changing languages function resetLanguageFields(){ clearMoneroCardLabelText() - onWalletRefresh() + if (currentWallet) { + onWalletRefresh(); + } } function userActivity() {