Skip to content
Snippets Groups Projects
Commit f9110504 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

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

Fix toolbar battery voltage not updating
parents 99f5f370 ad3307bf
No related branches found
No related tags found
No related merge requests found
......@@ -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, ' '));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment