Commit 01204850 authored by Don Gagne's avatar Don Gagne

parent 83f994c6
[
{
"name": "displayPresetsTabFirst",
"shortDescription": "Display the presets tab at start",
"type": "bool",
"defaultValue": false
}
]
......@@ -16,3 +16,5 @@ DECLARE_SETTINGGROUP(PlanView, "PlanView")
{
qmlRegisterUncreatableType<PlanViewSettings>("QGroundControl.SettingsManager", 1, 0, "PlanViewSettings", "Reference only"); \
}
DECLARE_SETTINGSFACT(PlanViewSettings, displayPresetsTabFirst)
......@@ -17,6 +17,8 @@ class PlanViewSettings : public SettingsGroup
public:
PlanViewSettings(QObject* parent = nullptr);
DEFINE_SETTING_NAME_GROUP()
// This is currently only used to set custom build visibility of the Plan view settings ui.
// The settings themselves related to PlanView are in still in AppSettings due to historical reasons.
// Most individual settings related to PlanView are still in AppSettings due to historical reasons.
DEFINE_SETTINGFACT(displayPresetsTabFirst)
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment