mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 00:27:26 -04:00
Update network status dynamically (closes #17)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user