From ca9c0a7b4045acac86309b89e35731a701d23e7d Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 14 Jun 2017 21:20:38 -0700 Subject: [PATCH] Fix Time/Distance value visibility --- src/PlanView/CameraSection.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PlanView/CameraSection.qml b/src/PlanView/CameraSection.qml index 0d20c39a6..bdbba8bc2 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") -- 2.22.0