1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-21 13:28:58 +01:00

LP-258 Unlock stabilization tabs while realtime update running

This commit is contained in:
Laurent Lalanne 2016-03-16 18:30:38 +01:00
parent 9e6989d6a1
commit ade1844a9a

View File

@ -255,7 +255,7 @@ void ConfigStabilizationWidget::refreshWidgetsValues(UAVObject *o)
// Check and update basic/advanced checkboxes only if something connected
// Jump to advanced tab if something not "basic": Rate value out of slider limits or different Pitch/Roll values
if (ui->lowThrottleZeroIntegral_8->isEnabled()) {
if (ui->lowThrottleZeroIntegral_8->isEnabled() && !realtimeUpdates->isActive()) {
if ((ui->attitudeRollResponse->value() == ui->attitudePitchResponse->value()) &&
(ui->rateRollResponse->value() == ui->ratePitchResponse->value()) &&
(ui->rateRollResponse->value() <= ui->RateResponsivenessSlider->maximum()) &&