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
356e1a9f
Commit
356e1a9f
authored
Dec 14, 2015
by
Don Gagne
Browse files
Merge pull request #2400 from DonLakeFlyer/DefaultValue
Param Editor: Don't highlight value if default is not available
parents
2641590b
ca0706a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/ParameterEditor.qml
View file @
356e1a9f
...
...
@@ -289,7 +289,7 @@ QGCView {
QGCLabel
{
id
:
valueLabel
width
:
ScreenTools
.
defaultFontPixelWidth
*
20
color
:
factRow
.
modelFact
.
valueEqualsDefault
?
__qgcPal
.
text
:
__qgcPal
.
warningText
color
:
factRow
.
modelFact
.
defaultValueAvailable
?
(
factRow
.
modelFact
.
valueEqualsDefault
?
__qgcPal
.
text
:
__qgcPal
.
warningText
)
:
__qgcPal
.
text
text
:
factRow
.
modelFact
.
valueString
+
"
"
+
factRow
.
modelFact
.
units
}
QGCLabel
{
...
...
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