Commit 7dc2159b authored by Jacob Dahl's avatar Jacob Dahl

reset the checklist when the activeVehicle changes

parent 40d5f1ff
......@@ -31,6 +31,11 @@ Rectangle {
}
property bool allChecksPassed: false
property var vehicleCopy: activeVehicle
onVehicleCopyChanged: {
checkListRepeater.model.reset()
}
onAllChecksPassedChanged: {
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