Browse Source

Waypoints only mode tweaks

QGC4.4
Don Gagne 6 years ago
parent
commit
e3684f8b65
  1. 2
      src/PlanView/MissionSettingsEditor.qml
  2. 2
      src/PlanView/PlanView.qml

2
src/PlanView/MissionSettingsEditor.qml

@ -93,7 +93,7 @@ Rectangle {
CameraSection { CameraSection {
id: cameraSection id: cameraSection
checked: missionItem.cameraSection.settingsSpecified checked: !_waypointsOnlyMode && missionItem.cameraSection.settingsSpecified
visible: _showCameraSection visible: _showCameraSection
} }

2
src/PlanView/PlanView.qml

@ -588,7 +588,7 @@ QGCView {
rotateImage: [ masterController.syncInProgress, false, false, false, false, false, false ] rotateImage: [ masterController.syncInProgress, false, false, false, false, false, false ]
animateImage: [ masterController.dirty, false, false, false, false, false, false ] animateImage: [ masterController.dirty, false, false, false, false, false, false ]
buttonEnabled: [ !masterController.syncInProgress, true, true, true, true, true, true ] 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 maxHeight: mapScale.y - toolStrip.y
property bool _showZoom: !ScreenTools.isMobile property bool _showZoom: !ScreenTools.isMobile

Loading…
Cancel
Save