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

minor updates to UI code for visibility of controls

This commit is contained in:
Andrew Thoms 2011-06-12 00:31:22 -04:00
parent 6ad60a7971
commit 2dab73a128

View File

@ -864,10 +864,10 @@ void ConfigccpmWidget::UpdatCCPMUIOptions()
m_ccpm->ccpmCollectiveChLabel->setVisible(ccpmCollectivePassthroughState);
m_ccpm->ccpmCollectiveChannel->setVisible(ccpmCollectivePassthroughState);
m_ccpm->ccpmLinkCyclic->setVisible(!ccpmCollectivePassthroughState);
m_ccpm->ccpmCyclicScalingBox->setVisible((ccpmCollectivePassthroughState||!ccpmLinkCyclicState)&&ccpmLinkRollState);
if (ccpmLinkCyclicState)
if (!ccpmCollectivePassthroughState&&ccpmLinkCyclicState)
{
m_ccpm->ccpmPitchScalingBox->setVisible(0);
m_ccpm->ccpmRollScalingBox->setVisible(0);