From e3684f8b65da221b85486ede26603f20a1a8358c Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 23 Jan 2019 09:51:30 -0800 Subject: [PATCH] Waypoints only mode tweaks --- src/PlanView/MissionSettingsEditor.qml | 2 +- src/PlanView/PlanView.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PlanView/MissionSettingsEditor.qml b/src/PlanView/MissionSettingsEditor.qml index 0bf754ae6..9c9bffeb0 100644 --- a/src/PlanView/MissionSettingsEditor.qml +++ b/src/PlanView/MissionSettingsEditor.qml @@ -93,7 +93,7 @@ Rectangle { CameraSection { id: cameraSection - checked: missionItem.cameraSection.settingsSpecified + checked: !_waypointsOnlyMode && missionItem.cameraSection.settingsSpecified visible: _showCameraSection } diff --git a/src/PlanView/PlanView.qml b/src/PlanView/PlanView.qml index 46be07cf8..15f810510 100644 --- a/src/PlanView/PlanView.qml +++ b/src/PlanView/PlanView.qml @@ -588,7 +588,7 @@ QGCView { rotateImage: [ masterController.syncInProgress, false, false, false, false, false, false ] animateImage: [ masterController.dirty, false, false, false, false, false, false ] buttonEnabled: [ !masterController.syncInProgress, true, true, true, true, true, true ] - buttonVisible: [ true, true, false/*_waypointsOnlyMode*/, true, true, _showZoom, _showZoom ] + buttonVisible: [ true, true, _waypointsOnlyMode, true, true, _showZoom, _showZoom ] maxHeight: mapScale.y - toolStrip.y property bool _showZoom: !ScreenTools.isMobile -- 2.22.0