Fix #2479
This commit is contained in:
@@ -639,6 +639,9 @@ void TelemetrySensorPanel::on_formula_currentIndexChanged(int index)
|
|||||||
{
|
{
|
||||||
if (!lock) {
|
if (!lock) {
|
||||||
sensor.formula = index;
|
sensor.formula = index;
|
||||||
|
if (sensor.formula == SensorData::TELEM_FORMULA_CELL) {
|
||||||
|
sensor.prec = 2;
|
||||||
|
}
|
||||||
update();
|
update();
|
||||||
emit modified();
|
emit modified();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user