mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-23 19:15:56 +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.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
connected: true
|
connected: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
main.qml
2
main.qml
|
@ -162,6 +162,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
function onWalletRefresh() {
|
function onWalletRefresh() {
|
||||||
console.log(">>> wallet refreshed")
|
console.log(">>> wallet refreshed")
|
||||||
|
leftPanel.networkStatus.connected = wallet.connected
|
||||||
onWalletUpdate();
|
onWalletUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -363,6 +364,7 @@ ApplicationWindow {
|
||||||
visible: appWindow.rightPanelExpanded
|
visible: appWindow.rightPanelExpanded
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
MiddlePanel {
|
MiddlePanel {
|
||||||
id: middlePanel
|
id: middlePanel
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|
Loading…
Reference in a new issue