From a1cd6d580c55abb06f3f2d5894b3c57b2b45cd60 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Thu, 20 Oct 2011 08:38:43 -0500 Subject: [PATCH] During output testing disable the reverse checkbox --- .../openpilotgcs/src/plugins/config/configoutputwidget.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp b/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp index 0adc41e2c..6b09238a0 100644 --- a/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp @@ -252,6 +252,9 @@ void ConfigOutputWidget::runChannelTests(bool state) foreach (QSpinBox* box, outMax) { box->setEnabled(false); } + foreach (QCheckBox* box, reversals) { + box->setEnabled(false); + } } else @@ -263,6 +266,9 @@ void ConfigOutputWidget::runChannelTests(bool state) foreach (QSpinBox* box, outMax) { box->setEnabled(true); } + foreach (QCheckBox* box, reversals) { + box->setEnabled(true); + } } obj->setMetadata(mdata);