Commit df93b9d7 authored by Don Gagne's avatar Don Gagne Committed by GitHub
Browse files

Merge pull request #5712 from DonLakeFlyer/CustomSetupFix

Setup View: No click/indicator for hidden pages
parents 8a23979e 5add3f0d
...@@ -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
......
Supports Markdown
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