Commit 91af9d7f authored by Jacob Dahl's avatar Jacob Dahl

fixes issue where the checklist is marked as (passed) when only a single group has passed

parent 72d2cce4
......@@ -42,9 +42,14 @@ Rectangle {
group = checkListRepeater.itemAt(index + 1)
group.enabled = true
group._checked = true
} else if ((index + 1) == checkListRepeater.count) {
// If the last group is passed, we mark the entire checklist as passed.
_passed = true
checklistDropPanel.close()
}
} else {
_passed = false
}
_passed = passed
}
//-- 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