From 0997b38e1ec398a054a96e5f6331f2b81bb9ab31 Mon Sep 17 00:00:00 2001 From: selsta Date: Sat, 31 Oct 2020 18:51:08 +0100 Subject: [PATCH] SettingsWallet: fix warning --- pages/settings/SettingsWallet.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";