Commit 4fb46995 authored by DonLakeFlyer's avatar DonLakeFlyer

parent d5f7442e
......@@ -52,6 +52,7 @@ Item {
property int _editingLayer: bar.currentIndex ? _layers[bar.currentIndex] : _layerMission
property int _toolStripBottom: toolStrip.height + toolStrip.y
property var _appSettings: QGroundControl.settingsManager.appSettings
property var _planViewSettings: QGroundControl.settingsManager.planViewSettings
readonly property var _layers: [_layerMission, _layerGeoFence, _layerRallyPoints]
......@@ -886,10 +887,11 @@ Item {
onSetCurrentSeqNum: _missionController.setCurrentPlanViewSeqNum(seqNum, true)
property bool _internalVisible: false
property bool _internalVisible: _planViewSettings.showMissionItemStatus.rawValue
function toggleVisible() {
_internalVisible = !_internalVisible
_planViewSettings.showMissionItemStatus.rawValue = _internalVisible
}
}
......
......@@ -10,5 +10,11 @@
"shortDescription": "Don't warn user about 'Above Terrain' usage",
"type": "bool",
"defaultValue": false
},
{
"name": "showMissionItemStatus",
"shortDescription": "Show/Hide the mission item status display",
"type": "bool",
"defaultValue": false
}
]
......@@ -19,3 +19,4 @@ DECLARE_SETTINGGROUP(PlanView, "PlanView")
DECLARE_SETTINGSFACT(PlanViewSettings, displayPresetsTabFirst)
DECLARE_SETTINGSFACT(PlanViewSettings, aboveTerrainWarning)
DECLARE_SETTINGSFACT(PlanViewSettings, showMissionItemStatus)
......@@ -22,4 +22,5 @@ public:
DEFINE_SETTINGFACT(displayPresetsTabFirst)
DEFINE_SETTINGFACT(aboveTerrainWarning)
DEFINE_SETTINGFACT(showMissionItemStatus)
};
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