aboutsummaryrefslogtreecommitdiff
path: root/pages/settings
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2020-10-17 03:10:33 +0200
committerGitHub <noreply@github.com>2020-10-17 03:10:33 +0200
commit9da52f23870fbfff8eca820ab9cf9a974821b5b9 (patch)
tree28d5af8bdaeed231c37695ca0a6d1e7a7ffed592 /pages/settings
parentcb1f3ad0ce228b9c272df76838754e303b074a32 (diff)
downloadmonzero-gui-9da52f23870fbfff8eca820ab9cf9a974821b5b9.tar.gz
monzero-gui-9da52f23870fbfff8eca820ab9cf9a974821b5b9.tar.xz
monzero-gui-9da52f23870fbfff8eca820ab9cf9a974821b5b9.zip
SettingsWallet: disable creating view-only wallet for Ledger
Diffstat (limited to 'pages/settings')
-rw-r--r--pages/settings/SettingsWallet.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml
index 29a99f23..a3bcb743 100644
--- a/pages/settings/SettingsWallet.qml
+++ b/pages/settings/SettingsWallet.qml
@@ -62,7 +62,7 @@ Rectangle {
iconText: FontAwesome.eye
description: qsTr("Creates a new wallet that can only view and initiate transactions, but requires a spendable wallet to sign transactions before sending.") + translationManager.emptyString
title: qsTr("Create a view-only wallet") + translationManager.emptyString
- visible: !appWindow.viewOnly
+ visible: !appWindow.viewOnly && !currentWallet.isLedger()
onClicked: {
var newPath = currentWallet.path + "_viewonly";