aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-10-28 00:37:28 -0700
committerAlexander Blair <snipa@jagtech.io>2020-10-28 00:37:30 -0700
commitfdff5f68dd837c3f1b2230626db04fcb266a8e03 (patch)
tree13dc904c392aa64644a2e9d60417b62dfe88ff9f
parent33afd0bb83d80e89c9c0437ece83a7981a0f1bd9 (diff)
parent9da52f23870fbfff8eca820ab9cf9a974821b5b9 (diff)
downloadmonzero-gui-fdff5f68dd837c3f1b2230626db04fcb266a8e03.tar.gz
monzero-gui-fdff5f68dd837c3f1b2230626db04fcb266a8e03.tar.xz
monzero-gui-fdff5f68dd837c3f1b2230626db04fcb266a8e03.zip
Merge pull request #3160
9da52f23 SettingsWallet: disable creating view-only wallet for Ledger (rating89us)
-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";