From 3f0241a039182ddfd5559d79b9c31b9484ccb42e Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 28 Feb 2019 13:08:41 +0100 Subject: [PATCH] Revert "Dont show message on simple mode disconnect/reconnect" This reverts commit 632423da07a16b3131fd5427aa19d2608538c683. --- main.qml | 2 +- wizard/WizardCreateWallet2.qml | 2 +- wizard/WizardOpenWallet1.qml | 2 +- wizard/WizardRestoreWallet2.qml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.qml b/main.qml index 4f77c0e6..8a55092f 100644 --- a/main.qml +++ b/main.qml @@ -1796,7 +1796,7 @@ ApplicationWindow { appWindow.disconnectedEpoch = 0; return; }, function(){ - console.log("Failed to fetch remote nodes from third-party server."); + appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), simpleModeConnectionTimer.interval / 1000); }); } } diff --git a/wizard/WizardCreateWallet2.qml b/wizard/WizardCreateWallet2.qml index 75f6e63d..6a3d3284 100644 --- a/wizard/WizardCreateWallet2.qml +++ b/wizard/WizardCreateWallet2.qml @@ -75,7 +75,7 @@ Rectangle { wizardController.fetchRemoteNodes(function(){ wizardStateView.state = "wizardCreateWallet4"; }, function(){ - console.log("Failed to fetch remote nodes from third-party server."); + appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), 5); wizardStateView.state = "wizardCreateWallet4"; }); } else { diff --git a/wizard/WizardOpenWallet1.qml b/wizard/WizardOpenWallet1.qml index baa800e2..8e3f7f52 100644 --- a/wizard/WizardOpenWallet1.qml +++ b/wizard/WizardOpenWallet1.qml @@ -198,7 +198,7 @@ Rectangle { wizardController.fetchRemoteNodes(function(){ wizardController.openWalletFile(moneroAccountsDir + "/" + fileName + "/" + fileName + ".keys"); }, function(){ - console.log("Failed to fetch remote nodes from third-party server."); + appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), 5); wizardController.openWalletFile(moneroAccountsDir + "/" + fileName + "/" + fileName + ".keys"); }); } else { diff --git a/wizard/WizardRestoreWallet2.qml b/wizard/WizardRestoreWallet2.qml index 017c1411..bf569cdf 100644 --- a/wizard/WizardRestoreWallet2.qml +++ b/wizard/WizardRestoreWallet2.qml @@ -74,7 +74,7 @@ Rectangle { wizardController.fetchRemoteNodes(function(){ wizardStateView.state = "wizardRestoreWallet4"; }, function(){ - console.log("Failed to fetch remote nodes from third-party server."); + appWindow.showStatusMessage(qsTr("Failed to fetch remote nodes from third-party server."), 5); wizardStateView.state = "wizardRestoreWallet4"; }); } else {