diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-06-21 14:44:53 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-06-21 14:44:53 -0500 |
| commit | 30997a82628e58317211b130288280fe25f18587 (patch) | |
| tree | c12d7bb6808079ed7c5141467a9e38eebcbfb26b | |
| parent | 431a789a39e5f2451a052ced075daf0570ee4249 (diff) | |
| parent | 484d40392127c59c87c2d2889c1521bfdc423790 (diff) | |
| download | monzero-gui-30997a82628e58317211b130288280fe25f18587.tar.gz monzero-gui-30997a82628e58317211b130288280fe25f18587.tar.xz monzero-gui-30997a82628e58317211b130288280fe25f18587.zip | |
Merge pull request #2230
484d403 NetworkStatusItem: correctly display remote node status (selsta)
| -rw-r--r-- | components/NetworkStatusItem.qml | 2 | ||||
| -rw-r--r-- | main.qml | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/components/NetworkStatusItem.qml b/components/NetworkStatusItem.qml index 7533be81..77ef4afa 100644 --- a/components/NetworkStatusItem.qml +++ b/components/NetworkStatusItem.qml @@ -41,7 +41,7 @@ Rectangle { if (status == Wallet.ConnectionStatus_Connected) { if(!appWindow.daemonSynced) return qsTr("Synchronizing") - if(appWindow.remoteNodeConnected) + if(persistentSettings.useRemoteNode) return qsTr("Remote node") return appWindow.isMining ? qsTr("Connected") + " + " + qsTr("Mining"): qsTr("Connected") } @@ -76,7 +76,6 @@ ApplicationWindow { property bool isMining: false property int walletMode: persistentSettings.walletMode property var cameraUi - property bool remoteNodeConnected: false property bool androidCloseTapped: false; property int userLastActive; // epoch // Default daemon addresses @@ -607,7 +606,6 @@ ApplicationWindow { currentDaemonAddress = persistentSettings.remoteNodeAddress; currentWallet.initAsync(currentDaemonAddress); walletManager.setDaemonAddressAsync(currentDaemonAddress); - remoteNodeConnected = true; } function disconnectRemoteNode() { @@ -619,7 +617,6 @@ ApplicationWindow { currentDaemonAddress = localDaemonAddress currentWallet.initAsync(currentDaemonAddress); walletManager.setDaemonAddressAsync(currentDaemonAddress); - remoteNodeConnected = false; } function onHeightRefreshed(bcHeight, dCurrentBlock, dTargetBlock) { |
