Commit 5e228b50 authored by dogmaphobic's avatar dogmaphobic

Small battery status fix.

parent c8a603cf
......@@ -57,7 +57,7 @@ MavManager::MavManager(QObject *parent)
, _refreshTimer(new QTimer(this))
, _batteryVoltage(0.0)
, _batteryPercent(0.0)
, _batteryConsumed(0.0)
, _batteryConsumed(-1.0)
, _systemArmed(false)
, _currentHeartbeatTimeout(0)
, _waypointDistance(0.0)
......
......@@ -552,6 +552,7 @@ Rectangle {
font.weight: Font.DemiBold
anchors.right: parent.right
anchors.rightMargin: getProportionalDimmension(6)
anchors.verticalCenter: parent.verticalCenter
horizontalAlignment: Text.AlignRight
color: colorWhite
}
......
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