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
cc6347c0
Commit
cc6347c0
authored
May 01, 2016
by
Lorenz Meier
Browse files
0 is a valid RSSI value, use 255 to indicate unknown instead
parent
73ab9f62
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/toolbar/MainToolBar.qml
View file @
cc6347c0
...
...
@@ -314,14 +314,14 @@ Rectangle {
QGCLabel
{
id
:
rssiLabel
text
:
activeVehicle
?
(
activeVehicle
.
rcRSSI
>
0
?
qsTr
(
"
RC RSSI Status
"
)
:
qsTr
(
"
RC RSSI Data Unavailable
"
))
:
qsTr
(
"
N/A
"
,
"
No data avaliable
"
)
text
:
activeVehicle
?
(
activeVehicle
.
rcRSSI
!=
255
?
qsTr
(
"
RC RSSI Status
"
)
:
qsTr
(
"
RC RSSI Data Unavailable
"
))
:
qsTr
(
"
N/A
"
,
"
No data avaliable
"
)
font.weight
:
Font
.
DemiBold
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
GridLayout
{
id
:
rcrssiGrid
visible
:
activeVehicle
&&
activeVehicle
.
rcRSSI
>
0
visible
:
activeVehicle
&&
activeVehicle
.
rcRSSI
!=
255
anchors.margins
:
ScreenTools
.
defaultFontPixelHeight
columnSpacing
:
ScreenTools
.
defaultFontPixelWidth
columns
:
2
...
...
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