forked from Public/monero-gui
Update network status dynamically (closes #17)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user