Commit 356e1a9f authored by Don Gagne's avatar Don Gagne

Merge pull request #2400 from DonLakeFlyer/DefaultValue

Param Editor: Don't highlight value if default is not available
parents 2641590b ca0706a2
......@@ -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 {
......
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