1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Connect correct signal to relay tuning so the UI populates the calculated

stabilization settings.
This commit is contained in:
James Cotton 2012-08-04 12:03:53 -05:00
parent 096f940fee
commit d201cad768

View File

@ -31,7 +31,7 @@ ConfigAutotuneWidget::ConfigAutotuneWidget(QWidget *parent) :
RelayTuning *relayTuning = RelayTuning::GetInstance(getObjectManager());
Q_ASSERT(relayTuning);
if(relayTuning)
connect(relayTuning, SIGNAL(updateRequested(UAVObject*)), this, SLOT(recomputeStabilization()));
connect(relayTuning, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(recomputeStabilization()));
// Connect the apply button for the stabilization settings
connect(m_autotune->useComputedValues, SIGNAL(pressed()), this, SLOT(saveStabilization()));