Browse Source

Fix images in turned enable/disable

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

4
src/PlanView/SurveyItemEditor.qml

@ -409,7 +409,7 @@ Rectangle {
FactCheckBox { FactCheckBox {
text: qsTr("Take images in turnarounds") text: qsTr("Take images in turnarounds")
fact: missionItem.cameraTriggerInTurnaround fact: missionItem.cameraTriggerInTurnaround
enabled: !missionItem.hoverAndCapture.rawValue enabled: missionItem.hoverAndCaptureAllowed ? !missionItem.hoverAndCapture.rawValue : true
} }
SectionHeader { SectionHeader {
@ -605,7 +605,7 @@ Rectangle {
FactCheckBox { FactCheckBox {
text: qsTr("Take images in turnarounds") text: qsTr("Take images in turnarounds")
fact: missionItem.cameraTriggerInTurnaround fact: missionItem.cameraTriggerInTurnaround
enabled: !missionItem.hoverAndCapture.rawValue enabled: missionItem.hoverAndCaptureAllowed ? !missionItem.hoverAndCapture.rawValue : true
Layout.columnSpan: 2 Layout.columnSpan: 2
} }

Loading…
Cancel
Save