aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2020-10-31 18:51:08 +0100
committerselsta <selsta@sent.at>2020-11-05 02:39:47 +0100
commit0997b38e1ec398a054a96e5f6331f2b81bb9ab31 (patch)
tree7d9e6d0c80bca859ae39fa9cfa9569a740224435 /pages
parent04429e85e6ccedee455eaf3b3b50fbecc6d9a083 (diff)
downloadmonzero-gui-0997b38e1ec398a054a96e5f6331f2b81bb9ab31.tar.gz
monzero-gui-0997b38e1ec398a054a96e5f6331f2b81bb9ab31.tar.xz
monzero-gui-0997b38e1ec398a054a96e5f6331f2b81bb9ab31.zip
SettingsWallet: fix warning
Diffstat (limited to 'pages')
-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";