Skip to content

Commit

Permalink
Merge pull request #2195 from glowtape/glowtape-curvesource
Browse files Browse the repository at this point in the history
gcs: Fix Curve2 UI.
  • Loading branch information
mlyle authored May 9, 2018
2 parents 77a4471 + 132e6f4 commit ab94c51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ ConfigCcpmWidget::ConfigCcpmWidget(QWidget *parent)
// refreshAirframeWidgetsValues triggers a whole cascade of curve-related calls
// need set the collective curve info after this point to make it stick
// tell mixercurve this is a pitch curve
m_ccpm->PitchCurve->setMixerType(MixerCurve::MIXERCURVE_OTHER);
m_ccpm->PitchCurve->setMixerType(MixerCurve::MIXERCURVE_OTHER, false);
m_ccpm->PitchCurve->initLinearCurve(5, 1.0, -1.0);

UpdateType();
Expand Down
9 changes: 8 additions & 1 deletion ground/gcs/src/plugins/config/mixercurve.ui
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,14 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="CBCurve2Source"/>
<widget class="QComboBox" name="CBCurve2Source">
<property name="objrelation" stdset="0">
<stringlist>
<string>objname:MixerSettings</string>
<string>fieldname:Curve2Source</string>
</stringlist>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
Expand Down

0 comments on commit ab94c51

Please sign in to comment.