diff --git a/src/PlanView/MissionSettingsEditor.qml b/src/PlanView/MissionSettingsEditor.qml index 544fa893fa6c4013a19b8f1dcfa4407a19695859..9cb6368d55385bac170db72c70ce62c98e2faf6e 100644 --- a/src/PlanView/MissionSettingsEditor.qml +++ b/src/PlanView/MissionSettingsEditor.qml @@ -36,6 +36,7 @@ Rectangle { property var _fileExtension: QGroundControl.settingsManager.appSettings.missionFileExtension property var _appSettings: QGroundControl.settingsManager.appSettings property bool _waypointsOnlyMode: QGroundControl.corePlugin.options.missionWaypointsOnly + property bool _showCameraSection: !_waypointsOnlyMode || QGroundControl.corePlugin.showAdvancedUI readonly property string _firmwareLabel: qsTr("Firmware") readonly property string _vehicleLabel: qsTr("Vehicle") @@ -91,6 +92,7 @@ Rectangle { CameraSection { id: cameraSection checked: missionItem.cameraSection.settingsSpecified + visible: _showCameraSection } QGCLabel { @@ -100,7 +102,7 @@ Rectangle { wrapMode: Text.WordWrap horizontalAlignment: Text.AlignHCenter font.pointSize: ScreenTools.smallFontPointSize - visible: cameraSection.checked + visible: _showCameraSection && cameraSection.checked } SectionHeader {