Commit 6aa38d7d authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #1591 from dogmaphobic/batteryStatusFix

Small battery status fix.
parents c8a603cf 5e228b50
......@@ -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