Commit cb724342 authored by Don Gagne's avatar Don Gagne

Fix images in turned enable/disable

parent acca8d7e
...@@ -409,7 +409,7 @@ Rectangle { ...@@ -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 { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment