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:
parent
6ad60a7971
commit
2dab73a128
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user