From 45e34cbae0996242d52e887804cc77c154ece59d Mon Sep 17 00:00:00 2001 From: zedamota Date: Tue, 17 Apr 2012 15:19:41 +0100 Subject: [PATCH] Force CC attitude config page refresh on board connection. --- .../openpilotgcs/src/plugins/config/configccattitudewidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ground/openpilotgcs/src/plugins/config/configccattitudewidget.cpp b/ground/openpilotgcs/src/plugins/config/configccattitudewidget.cpp index 935e6ad4a..4ffabef66 100644 --- a/ground/openpilotgcs/src/plugins/config/configccattitudewidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configccattitudewidget.cpp @@ -53,6 +53,7 @@ ConfigCCAttitudeWidget::ConfigCCAttitudeWidget(QWidget *parent) : addUAVObjectToWidgetRelation("AttitudeSettings","BoardRotation",ui->pitchBias,AttitudeSettings::BOARDROTATION_PITCH); addUAVObjectToWidgetRelation("AttitudeSettings","BoardRotation",ui->yawBias,AttitudeSettings::BOARDROTATION_YAW); addWidget(ui->zeroBias); + refreshWidgetsValues(); } ConfigCCAttitudeWidget::~ConfigCCAttitudeWidget()