diff --git a/src/PlanView/CameraSection.qml b/src/PlanView/CameraSection.qml index 0d20c39a6ec9e08ab9a68b4e128eb4fdc6001705..bdbba8bc2d91fbfe147810c967fbdb0c88a3e61d 100644 --- a/src/PlanView/CameraSection.qml +++ b/src/PlanView/CameraSection.qml @@ -46,7 +46,7 @@ Column { anchors.left: parent.left anchors.right: parent.right spacing: ScreenTools.defaultFontPixelWidth - visible: cameraActionCombo.currentIndex == 1 + visible: _camera.cameraAction.rawValue == 1 QGCLabel { text: qsTr("Time") @@ -62,7 +62,7 @@ Column { anchors.left: parent.left anchors.right: parent.right spacing: ScreenTools.defaultFontPixelWidth - visible: cameraActionCombo.currentIndex == 2 + visible: _camera.cameraAction.rawValue == 2 QGCLabel { text: qsTr("Distance")