Merge pull request #1981

3f0241a Revert 'Dont show message on simple mode disconnect/reconnect' (selsta)
This commit is contained in:
luigi1111 2019-03-01 02:36:05 -06:00
commit 5ce689972e
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
4 changed files with 4 additions and 4 deletions

View file

@ -1800,7 +1800,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 {