Browse Source

Handle camera not found

QGC4.4
Don Gagne 8 years ago
parent
commit
6ed03f6534
  1. 4
      src/PlanView/SurveyItemEditor.qml

4
src/PlanView/SurveyItemEditor.qml

@ -51,8 +51,8 @@ Rectangle { @@ -51,8 +51,8 @@ Rectangle {
}
}
missionItem.cameraOrientationFixed = false
if (index == -1) {
gridTypeCombo.currentIndex = _gridTypeManual
if (index == _cameraList.length) {
gridTypeCombo.currentIndex = _gridTypeCustomCamera
} else {
gridTypeCombo.currentIndex = index
if (index != 1) {

Loading…
Cancel
Save