1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

Tweek: set min/max spinboxes to match the settings table when edited.

This commit is contained in:
Mike LaBranche 2012-07-06 15:16:54 -07:00
parent 44140931ae
commit dc4c6c74e4

View File

@ -313,6 +313,9 @@ void MixerCurve::SettingsTableChanged()
points.push_front(item->text().toDouble());
}
m_mixerUI->CurveMin->setValue(points.first());
m_mixerUI->CurveMax->setValue(points.last());
m_curve->setCurve(&points);
}