aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";