From 891ea158dc20c7da0ca4148702fb3f43a137593b Mon Sep 17 00:00:00 2001 From: mmbyday Date: Mon, 25 Feb 2019 11:22:30 -0800 Subject: [PATCH] SettingsWallet: hide creating a view wallet for viewOnly wallets --- pages/settings/SettingsWallet.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml index 0293c931..29a1b5ff 100644 --- a/pages/settings/SettingsWallet.qml +++ b/pages/settings/SettingsWallet.qml @@ -131,6 +131,7 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: settingsWallet.itemHeight columnSpacing: 0 + visible: !appWindow.viewOnly ColumnLayout { Layout.fillWidth: true @@ -184,6 +185,7 @@ Rectangle { Rectangle { // divider + visible: !appWindow.viewOnly Layout.preferredHeight: 1 * scaleRatio Layout.fillWidth: true Layout.topMargin: 8 * scaleRatio