Commit 999f09ad authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5297 from DonLakeFlyer/CameraSection

Camera Section: Fix Time/Distance value visibility
parents edc04656 ca9c0a7b
...@@ -46,7 +46,7 @@ Column { ...@@ -46,7 +46,7 @@ Column {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
spacing: ScreenTools.defaultFontPixelWidth spacing: ScreenTools.defaultFontPixelWidth
visible: cameraActionCombo.currentIndex == 1 visible: _camera.cameraAction.rawValue == 1
QGCLabel { QGCLabel {
text: qsTr("Time") text: qsTr("Time")
...@@ -62,7 +62,7 @@ Column { ...@@ -62,7 +62,7 @@ Column {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
spacing: ScreenTools.defaultFontPixelWidth spacing: ScreenTools.defaultFontPixelWidth
visible: cameraActionCombo.currentIndex == 2 visible: _camera.cameraAction.rawValue == 2
QGCLabel { QGCLabel {
text: qsTr("Distance") text: qsTr("Distance")
......
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