mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
Update network status dynamically (closes #17)
This commit is contained in:
parent
71da777375
commit
8b26bc4a4d
2 changed files with 3 additions and 1 deletions
|
@ -352,7 +352,7 @@ Rectangle {
|
|||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
connected: true
|
||||
connected: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
main.qml
2
main.qml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue