Skip to content

Commit 30403d2

Browse files
committed
Fix incorrect supportsTerrain reference
1 parent dc438ab commit 30403d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/PlanView/SimpleItemEditor.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Rectangle {
1919

2020
property bool _specifiesAltitude: missionItem.specifiesAltitude
2121
property real _margin: ScreenTools.defaultFontPixelHeight / 2
22-
property bool _supportsTerrainFrame: missionItem.masterController.supportsTerrain
2322
property var _controllerVehicle: missionItem.masterController.controllerVehicle
23+
property bool _supportsTerrainFrame: _controllerVehicle.supportsTerrainFrame
2424
property int _globalAltMode: missionItem.masterController.missionController.globalAltitudeMode
2525
property bool _globalAltModeIsMixed: _globalAltMode == QGroundControl.AltitudeModeNone
2626

0 commit comments

Comments
 (0)