Unverified Commit 6584be88 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8633 from dakejahl/pr-reset_checklist

Reset the checklist when the activeVehicle changes
parents 3cad81ff 7dc2159b
...@@ -31,6 +31,11 @@ Rectangle { ...@@ -31,6 +31,11 @@ Rectangle {
} }
property bool allChecksPassed: false property bool allChecksPassed: false
property var vehicleCopy: activeVehicle
onVehicleCopyChanged: {
checkListRepeater.model.reset()
}
onAllChecksPassedChanged: { onAllChecksPassedChanged: {
if (allChecksPassed) { if (allChecksPassed) {
......
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