Commit b6d851a9 authored by Lorenz Meier's avatar Lorenz Meier

Main toolbar: Clearly indicate that we do not have battery indication (and the...

Main toolbar: Clearly indicate that we do not have battery indication (and the battery is not just flat at 0.0V
parent 6103a554
......@@ -479,7 +479,7 @@ Rectangle {
QGCLabel {
visible: batteryStatus.visible && activeVehicle.batteryConsumed < 0.0
text: activeVehicle.batteryVoltage.toFixed(1) + 'V';
text: (activeVehicle.batteryVoltage > 0) ? activeVehicle.batteryVoltage.toFixed(1) + 'V' : '---';
font.pixelSize: ScreenTools.smallFontPixelSize
font.weight: Font.DemiBold
anchors.right: parent.right
......
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