Revert "Dont show message on simple mode disconnect/reconnect"

This reverts commit 632423da07.
This commit is contained in:
selsta 2019-02-28 13:08:41 +01:00
parent 07df0f41bf
commit 3f0241a039
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E
4 changed files with 4 additions and 4 deletions

View File

@ -1796,7 +1796,7 @@ ApplicationWindow {
appWindow.disconnectedEpoch = 0; appWindow.disconnectedEpoch = 0;
return; return;
}, function(){ }, 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);
}); });
} }
} }

View File

@ -75,7 +75,7 @@ Rectangle {
wizardController.fetchRemoteNodes(function(){ wizardController.fetchRemoteNodes(function(){
wizardStateView.state = "wizardCreateWallet4"; wizardStateView.state = "wizardCreateWallet4";
}, function(){ }, 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"; wizardStateView.state = "wizardCreateWallet4";
}); });
} else { } else {

View File

@ -198,7 +198,7 @@ Rectangle {
wizardController.fetchRemoteNodes(function(){ wizardController.fetchRemoteNodes(function(){
wizardController.openWalletFile(moneroAccountsDir + "/" + fileName + "/" + fileName + ".keys"); wizardController.openWalletFile(moneroAccountsDir + "/" + fileName + "/" + fileName + ".keys");
}, function(){ }, 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"); wizardController.openWalletFile(moneroAccountsDir + "/" + fileName + "/" + fileName + ".keys");
}); });
} else { } else {

View File

@ -74,7 +74,7 @@ Rectangle {
wizardController.fetchRemoteNodes(function(){ wizardController.fetchRemoteNodes(function(){
wizardStateView.state = "wizardRestoreWallet4"; wizardStateView.state = "wizardRestoreWallet4";
}, function(){ }, 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"; wizardStateView.state = "wizardRestoreWallet4";
}); });
} else { } else {