Browse Source

reset the checklist when the activeVehicle changes

QGC4.4
Jacob Dahl 5 years ago
parent
commit
7dc2159b0e
  1. 5
      src/FlightDisplay/PreFlightCheckList.qml

5
src/FlightDisplay/PreFlightCheckList.qml

@ -31,6 +31,11 @@ Rectangle { @@ -31,6 +31,11 @@ Rectangle {
}
property bool allChecksPassed: false
property var vehicleCopy: activeVehicle
onVehicleCopyChanged: {
checkListRepeater.model.reset()
}
onAllChecksPassedChanged: {
if (allChecksPassed) {

Loading…
Cancel
Save