Update network status dynamically (closes #17)

This commit is contained in:
Ilya Kitaev 2016-07-14 13:40:27 +03:00
parent 71da777375
commit 8b26bc4a4d
2 changed files with 3 additions and 1 deletions

View file

@ -352,7 +352,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
connected: true
connected: false
}
}
}

View file

@ -162,6 +162,7 @@ ApplicationWindow {
function onWalletRefresh() {
console.log(">>> wallet refreshed")
leftPanel.networkStatus.connected = wallet.connected
onWalletUpdate();
}
@ -363,6 +364,7 @@ ApplicationWindow {
visible: appWindow.rightPanelExpanded
}
MiddlePanel {
id: middlePanel
anchors.bottom: parent.bottom