From 4c05bff21ecab061286830e58bfe3fa99a133914 Mon Sep 17 00:00:00 2001 From: selsta Date: Wed, 4 Sep 2019 00:05:48 +0200 Subject: [PATCH] main: node and log page are hidden in simple mode --- main.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.qml b/main.qml index 92b0f033..fadf93f0 100644 --- a/main.qml +++ b/main.qml @@ -2251,7 +2251,9 @@ ApplicationWindow { appWindow.walletMode = mode; persistentSettings.walletMode = mode; persistentSettings.useRemoteNode = mode === 0 ? true : false; - + if (mode < 2 && (middlePanel.settingsView.settingsStateViewState === "Node" || middlePanel.settingsView.settingsStateViewState === "Log")) { + middlePanel.settingsView.settingsStateViewState = "Wallet" + } console.log("walletMode changed: " + (mode === 0 ? "simple": mode === 1 ? "simple (bootstrap)" : "Advanced")); }