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:
parent
096f940fee
commit
d201cad768
@ -31,7 +31,7 @@ ConfigAutotuneWidget::ConfigAutotuneWidget(QWidget *parent) :
|
|||||||
RelayTuning *relayTuning = RelayTuning::GetInstance(getObjectManager());
|
RelayTuning *relayTuning = RelayTuning::GetInstance(getObjectManager());
|
||||||
Q_ASSERT(relayTuning);
|
Q_ASSERT(relayTuning);
|
||||||
if(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 the apply button for the stabilization settings
|
||||||
connect(m_autotune->useComputedValues, SIGNAL(pressed()), this, SLOT(saveStabilization()));
|
connect(m_autotune->useComputedValues, SIGNAL(pressed()), this, SLOT(saveStabilization()));
|
||||||
|
Loading…
Reference in New Issue
Block a user