aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-11-06 05:09:46 -0800
committerAlexander Blair <snipa@jagtech.io>2020-11-06 05:09:46 -0800
commita564abbe6bc4c03a6344cbb9100ca60514c369f0 (patch)
treeb987e1ea361a80362f2f0af48664ec20159a2802
parent149732af3a9fd2c6bfdc0065937523ca3854a9e1 (diff)
parent0997b38e1ec398a054a96e5f6331f2b81bb9ab31 (diff)
downloadmonzero-gui-a564abbe6bc4c03a6344cbb9100ca60514c369f0.tar.gz
monzero-gui-a564abbe6bc4c03a6344cbb9100ca60514c369f0.tar.xz
monzero-gui-a564abbe6bc4c03a6344cbb9100ca60514c369f0.zip
Merge pull request #3202
0997b38e SettingsWallet: fix warning (selsta)
-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 a3bcb743..3e6a25ac 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 && !currentWallet.isLedger()
+ visible: !appWindow.viewOnly && (currentWallet ? !currentWallet.isLedger() : true)
onClicked: {
var newPath = currentWallet.path + "_viewonly";