From 2dab73a128dd0da49b780c91c5de78e1853e972a Mon Sep 17 00:00:00 2001 From: Andrew Thoms Date: Sun, 12 Jun 2011 00:31:22 -0400 Subject: [PATCH] minor updates to UI code for visibility of controls --- ground/openpilotgcs/src/plugins/config/configccpmwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/config/configccpmwidget.cpp b/ground/openpilotgcs/src/plugins/config/configccpmwidget.cpp index b3c77bf73..a1b652a2e 100644 --- a/ground/openpilotgcs/src/plugins/config/configccpmwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configccpmwidget.cpp @@ -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);