Merge pull request #2747

6940390 Wallet: implement 'Connecting' status, add 'disconnected' property (xiphon)
This commit is contained in:
luigi1111
2020-01-30 16:32:56 -05:00
7 changed files with 73 additions and 48 deletions

View File

@@ -717,6 +717,7 @@ Rectangle {
//pageRoot.enabled = false;
switch (currentWallet.connected()) {
case Wallet.ConnectionStatus_Connecting:
case Wallet.ConnectionStatus_Disconnected:
root.warningContent = messageNotConnected;
break

View File

@@ -585,7 +585,7 @@ Item {
return
}
if (appWindow.currentWallet.connected() == Wallet.ConnectionStatus_Disconnected) {
if (appWindow.disconnected) {
root.trackingError = qsTr("WARNING: no connection to daemon");
trackingModel.clear();
return