minor fix on base station page
This commit is contained in:
parent
ab7154cfd0
commit
aa28276154
1 changed files with 1 additions and 14 deletions
|
@ -380,20 +380,7 @@ Popup {
|
||||||
|
|
||||||
spacing: options_stack.rowSpacing
|
spacing: options_stack.rowSpacing
|
||||||
|
|
||||||
property bool baseConnected: false
|
property bool baseConnected: speedBackend.baseStationState === "connected"
|
||||||
|
|
||||||
Connections {
|
|
||||||
target: speedBackend
|
|
||||||
|
|
||||||
onBaseStationStateChanged: {
|
|
||||||
if(speedBackend.baseStationState === "connected"){
|
|
||||||
connectCol.baseConnected = true
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
connectCol.baseConnected = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ConnectionDelegate {
|
ConnectionDelegate {
|
||||||
id: connectToBaseDel
|
id: connectToBaseDel
|
||||||
|
|
Reference in a new issue