Browse Source

Merge pull request #8633 from dakejahl/pr-reset_checklist

Reset the checklist when the activeVehicle changes
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
6584be88b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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