Skip to content

Commit 9b56904

Browse files
authored
Merge pull request #502 from OpenHD/2.3-evo-consti-dev
1 liner - fix rssi percentage value not shown
2 parents 2ee0137 + 799e4f6 commit 9b56904

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qml/ui/widgets/RCRssiWidget.qml

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ BaseWidget {
312312
id: percent_symbol
313313
color: settings.color_text
314314
opacity: settings.rc_rssi_opacity
315-
text: is_valid_rssi() ? qStr("%") : qsTr("")
315+
text: is_valid_rssi() ? qsTr("%") : qsTr("")
316316
anchors.right: rcRSSI_21to40.left
317317
anchors.rightMargin: 0
318318
anchors.top: parent.top
@@ -330,7 +330,7 @@ BaseWidget {
330330
id: rc_rssi
331331
color: settings.color_text
332332
opacity: settings.rc_rssi_opacity
333-
text: is_valid_rssi() ? qsTr(rc_rssi_percentage) : qsTr("N/A")
333+
text: is_valid_rssi() ? rc_rssi_percentage : qsTr("N/A")
334334
anchors.right: percent_symbol.left
335335
anchors.rightMargin: 2
336336
anchors.top: parent.top

0 commit comments

Comments
 (0)