Commit 5add3f0d authored by DonLakeFlyer's avatar DonLakeFlyer

No click/indicator for hidden pages

parent 8a23979e
...@@ -127,10 +127,14 @@ Rectangle { ...@@ -127,10 +127,14 @@ Rectangle {
height: width height: width
radius: width / 2 radius: width / 2
color: modelData.setupComplete ? "#00d932" : "red" color: modelData.setupComplete ? "#00d932" : "red"
visible: modelData.requiresSetup visible: modelData.requiresSetup && modelData.setupSource != ""
} }
onClicked : { onClicked : {
setupView.showVehicleComponentPanel(modelData) console.log(modelData.setupSource)
if (modelData.setupSource != "") {
setupView.showVehicleComponentPanel(modelData)
}
} }
} }
// Summary Qml // Summary Qml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment