Browse Source

Merge pull request #5712 from DonLakeFlyer/CustomSetupFix

Setup View: No click/indicator for hidden pages
QGC4.4
Don Gagne 8 years ago committed by GitHub
parent
commit
df93b9d72e
  1. 6
      src/VehicleSetup/VehicleSummary.qml

6
src/VehicleSetup/VehicleSummary.qml

@ -127,12 +127,16 @@ Rectangle { @@ -127,12 +127,16 @@ Rectangle {
height: width
radius: width / 2
color: modelData.setupComplete ? "#00d932" : "red"
visible: modelData.requiresSetup
visible: modelData.requiresSetup && modelData.setupSource != ""
}
onClicked : {
console.log(modelData.setupSource)
if (modelData.setupSource != "") {
setupView.showVehicleComponentPanel(modelData)
}
}
}
// Summary Qml
Rectangle {
anchors.top: titleBar.bottom

Loading…
Cancel
Save