aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-01-01 12:53:32 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-01-01 12:53:32 -0500
commitf44fcb4459f6c1e2a03027b5de1df561366f47a4 (patch)
tree4453cd735843aea180301e69e5228cdaed1e5c50
parentc5d598f40134bedf713b4becf13b6c72d1790071 (diff)
parent98f8f194cd73c6bf717b2cf7c39414658cb7cb5e (diff)
downloadmonzero-gui-f44fcb4459f6c1e2a03027b5de1df561366f47a4.tar.gz
monzero-gui-f44fcb4459f6c1e2a03027b5de1df561366f47a4.tar.xz
monzero-gui-f44fcb4459f6c1e2a03027b5de1df561366f47a4.zip
Merge pull request #3802
98f8f19 SettingsWallet: improve and translate trusted remote node error message (rating89us)
-rw-r--r--pages/settings/SettingsWallet.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml
index bf46abc1..c2a20168 100644
--- a/pages/settings/SettingsWallet.qml
+++ b/pages/settings/SettingsWallet.qml
@@ -101,7 +101,11 @@ Rectangle {
if (!currentWallet.rescanSpent()) {
console.error("Error: ", currentWallet.errorString);
informationPopup.title = qsTr("Error") + translationManager.emptyString;
- informationPopup.text = qsTr("Error: ") + currentWallet.errorString
+ if (currentWallet.errorString == "Rescan spent can only be used with a trusted daemon") {
+ informationPopup.text = qsTr("Error: ") + qsTr("Rescan spent can only be used with a trusted remote node. If you trust the current node you are connected to (%1), you can mark it as trusted in Settings > Node page.").arg(remoteNodesModel.currentRemoteNode().address) + translationManager.emptyString;
+ } else {
+ informationPopup.text = qsTr("Error: ") + currentWallet.errorString;
+ }
informationPopup.icon = StandardIcon.Critical
informationPopup.onCloseCallback = null
informationPopup.open();