From 26408e286fd9700b7efc07908a7bec28c7ef0e02 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Wed, 26 Sep 2012 09:44:43 -0500 Subject: [PATCH] GCS Stabilization: Force the apply button to always be there as I can't find expert mode --- .../share/openpilotgcs/default_configurations/OpenPilotGCS.xml | 2 +- .../src/plugins/config/configstabilizationwidget.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ground/openpilotgcs/share/openpilotgcs/default_configurations/OpenPilotGCS.xml b/ground/openpilotgcs/share/openpilotgcs/default_configurations/OpenPilotGCS.xml index cab264e14..05421fc80 100644 --- a/ground/openpilotgcs/share/openpilotgcs/default_configurations/OpenPilotGCS.xml +++ b/ground/openpilotgcs/share/openpilotgcs/default_configurations/OpenPilotGCS.xml @@ -5,7 +5,7 @@ false Default configuration
Default configuration built to work on all screen sizes
- false + true en_AU true default diff --git a/ground/openpilotgcs/src/plugins/config/configstabilizationwidget.cpp b/ground/openpilotgcs/src/plugins/config/configstabilizationwidget.cpp index 5469403ae..91b923351 100644 --- a/ground/openpilotgcs/src/plugins/config/configstabilizationwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configstabilizationwidget.cpp @@ -49,8 +49,9 @@ ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTa ExtensionSystem::PluginManager *pm=ExtensionSystem::PluginManager::instance(); Core::Internal::GeneralSettings * settings=pm->getObject(); - if(!settings->useExpertMode()) + if(!settings->useExpertMode() || true) m_stabilization->saveStabilizationToRAM_6->setVisible(false); + m_stabilization->saveStabilizationToRAM_6->setVisible(true);