Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
13bf81aa
Commit
13bf81aa
authored
8 years ago
by
Don Gagne
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3528 from DonLakeFlyer/PX4FM
PX4 Flight Mode: Fix label coloring
parents
935e1ca9
2d4d8805
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PX4SimpleFlightModes.qml
src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml
+3
-3
No files found.
src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml
View file @
13bf81aa
...
@@ -147,7 +147,7 @@ Item {
...
@@ -147,7 +147,7 @@ Item {
QGCLabel
{
QGCLabel
{
anchors.baseline
:
returnCombo
.
baseline
anchors.baseline
:
returnCombo
.
baseline
text
:
"
Return switch:
"
text
:
"
Return switch:
"
color
:
fact
.
value
==
0
?
qgcPal
.
text
:
(
controller
.
rcChannelValues
[
fact
.
value
-
1
]
>=
1500
?
"
yellow
"
:
qgcPal
.
text
)
color
:
parent
.
fact
.
value
==
0
?
qgcPal
.
text
:
(
controller
.
rcChannelValues
[
parent
.
fact
.
value
-
1
]
>=
1500
?
"
yellow
"
:
qgcPal
.
text
)
}
}
FactComboBox
{
FactComboBox
{
...
@@ -166,7 +166,7 @@ Item {
...
@@ -166,7 +166,7 @@ Item {
QGCLabel
{
QGCLabel
{
anchors.baseline
:
killCombo
.
baseline
anchors.baseline
:
killCombo
.
baseline
text
:
"
Kill switch:
"
text
:
"
Kill switch:
"
color
:
fact
.
value
==
0
?
qgcPal
.
text
:
(
controller
.
rcChannelValues
[
fact
.
value
-
1
]
>=
1500
?
"
yellow
"
:
qgcPal
.
text
)
color
:
parent
.
fact
.
value
==
0
?
qgcPal
.
text
:
(
controller
.
rcChannelValues
[
parent
.
fact
.
value
-
1
]
>=
1500
?
"
yellow
"
:
qgcPal
.
text
)
}
}
FactComboBox
{
FactComboBox
{
...
@@ -185,7 +185,7 @@ Item {
...
@@ -185,7 +185,7 @@ Item {
QGCLabel
{
QGCLabel
{
anchors.baseline
:
offboardCombo
.
baseline
anchors.baseline
:
offboardCombo
.
baseline
text
:
"
Offboard switch:
"
text
:
"
Offboard switch:
"
color
:
fact
.
value
==
0
?
qgcPal
.
text
:
(
controller
.
rcChannelValues
[
fact
.
value
-
1
]
>=
1500
?
"
yellow
"
:
qgcPal
.
text
)
color
:
parent
.
fact
.
value
==
0
?
qgcPal
.
text
:
(
controller
.
rcChannelValues
[
parent
.
fact
.
value
-
1
]
>=
1500
?
"
yellow
"
:
qgcPal
.
text
)
}
}
FactComboBox
{
FactComboBox
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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