diff --git a/src/PlanView/SurveyItemEditor.qml b/src/PlanView/SurveyItemEditor.qml index 7ac65cfcca97c91b388d8a7cf3ae0431e3aff9bb..25b7bd2e38ecb0e02086a01ac69927b57b9e9b6e 100644 --- a/src/PlanView/SurveyItemEditor.qml +++ b/src/PlanView/SurveyItemEditor.qml @@ -30,7 +30,7 @@ Rectangle { property real _fieldWidth: ScreenTools.defaultFontPixelWidth * 10.5 property var _cameraList: [ qsTr("Manual Grid (no camera specs)"), qsTr("Custom Camera Grid") ] property var _vehicle: QGroundControl.multiVehicleManager.activeVehicle ? QGroundControl.multiVehicleManager.activeVehicle : QGroundControl.multiVehicleManager.offlineEditingVehicle - property var _vehicleCameraList: _vehicle.staticCameraList + property var _vehicleCameraList: _vehicle ? _vehicle.staticCameraList : [] readonly property int _gridTypeManual: 0 readonly property int _gridTypeCustomCamera: 1