aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmbyday <mmbyday@protonmail.com>2019-02-25 11:22:30 -0800
committermmbyday <mmbyday@protonmail.com>2019-02-25 11:22:30 -0800
commit891ea158dc20c7da0ca4148702fb3f43a137593b (patch)
tree72a0b3a7ec7bda39764bd08a666f3887d71704c4
parenta89ffd02d055835a65ea3eb12888ad81ebfc6a02 (diff)
downloadmonzero-gui-891ea158dc20c7da0ca4148702fb3f43a137593b.tar.gz
monzero-gui-891ea158dc20c7da0ca4148702fb3f43a137593b.tar.xz
monzero-gui-891ea158dc20c7da0ca4148702fb3f43a137593b.zip
SettingsWallet: hide creating a view wallet for viewOnly wallets
-rw-r--r--pages/settings/SettingsWallet.qml2
1 files changed, 2 insertions, 0 deletions
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