SettingsWallet: disable creating view-only wallet for Ledger

This commit is contained in:
rating89us 2020-10-17 03:10:33 +02:00 committed by GitHub
parent cb1f3ad0ce
commit 9da52f2387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ Rectangle {
iconText: FontAwesome.eye 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 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 title: qsTr("Create a view-only wallet") + translationManager.emptyString
visible: !appWindow.viewOnly visible: !appWindow.viewOnly && !currentWallet.isLedger()
onClicked: { onClicked: {
var newPath = currentWallet.path + "_viewonly"; var newPath = currentWallet.path + "_viewonly";