1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

GCS Stabilization: Force the apply button to always be there as I can't find expert mode

This commit is contained in:
James Cotton 2012-09-26 09:44:43 -05:00
parent d2842169ee
commit 26408e286f
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<UDPMirror>false</UDPMirror>
<Description>Default configuration</Description>
<Details>Default configuration built to work on all screen sizes</Details>
<ExpertMode>false</ExpertMode>
<ExpertMode>true</ExpertMode>
<OverrideLanguage>en_AU</OverrideLanguage>
<SaveSettingsOnExit>true</SaveSettingsOnExit>
<StyleSheet>default</StyleSheet>

View File

@ -49,8 +49,9 @@ ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTa
ExtensionSystem::PluginManager *pm=ExtensionSystem::PluginManager::instance();
Core::Internal::GeneralSettings * settings=pm->getObject<Core::Internal::GeneralSettings>();
if(!settings->useExpertMode())
if(!settings->useExpertMode() || true)
m_stabilization->saveStabilizationToRAM_6->setVisible(false);
m_stabilization->saveStabilizationToRAM_6->setVisible(true);