From 31026f3820fc61ab4e77eea7c8de774c796b9d9c Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Mon, 19 Nov 2018 16:02:59 -0500 Subject: [PATCH] CP - Don't show GStreamer debug options if it is set to not visible --- src/QmlControls/AppMessages.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/QmlControls/AppMessages.qml b/src/QmlControls/AppMessages.qml index f3b6044..af00cce 100644 --- a/src/QmlControls/AppMessages.qml +++ b/src/QmlControls/AppMessages.qml @@ -162,6 +162,7 @@ QGCView { anchors.right: gstCombo.left anchors.rightMargin: ScreenTools.defaultFontPixelWidth text: qsTr("GStreamer Debug Level:") + visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible } FactComboBox { @@ -172,6 +173,7 @@ QGCView { width: ScreenTools.defaultFontPixelWidth*20 model: ["disabled", "1", "2", "3", "4", "5", "6", "7", "8"] fact: QGroundControl.settingsManager.appSettings.gstDebugLevel + visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible } BusyIndicator {