Unverified Commit 80cdb116 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8330 from dakejahl/pr-fix_checklist_passed

Fix checklist (passed) header
parents 27ec1962 264994f9
......@@ -44,7 +44,16 @@ Rectangle {
group._checked = true
}
}
_passed = passed
// Walk the list and check if any group is failing
var allPassed = true
for (var i=0; i < checkListRepeater.count; i++) {
if (!checkListRepeater.itemAt(i).passed) {
allPassed = false
break
}
}
_passed = allPassed;
}
//-- Pick a checklist model that matches the current airframe type (if any)
......
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