Commit f9110504 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #384 from jean-m-cyr/config

Fix toolbar battery voltage not updating
parents 99f5f370 ad3307bf
......@@ -464,7 +464,9 @@ void QGCToolBar::updateView()
}
}
toolBarBatteryVoltageLabel->setText(tr("%1 V").arg(batteryVoltage, 4, 'f', 1, ' '));
}
if (toolBarBatteryVoltageLabel->isVisible()) {
toolBarBatteryVoltageLabel->setText(tr("%1 V").arg(batteryVoltage, 4, 'f', 1, ' '));
}
......
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