This commit is contained in:
Andre Bernet
2015-07-17 09:43:04 +02:00
parent 17c176084c
commit a480c6ce87
+3
View File
@@ -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();
} }