Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
80cdb116
Unverified
Commit
80cdb116
authored
Feb 15, 2020
by
Don Gagne
Committed by
GitHub
Feb 15, 2020
Browse files
Merge pull request #8330 from dakejahl/pr-fix_checklist_passed
Fix checklist (passed) header
parents
27ec1962
264994f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FlightDisplay/PreFlightCheckList.qml
View file @
80cdb116
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment