Browse Source

CP - Don't show GStreamer debug options if it is set to not visible

QGC4.4
Gus Grubba 7 years ago committed by Gus Grubba
parent
commit
31026f3820
  1. 2
      src/QmlControls/AppMessages.qml

2
src/QmlControls/AppMessages.qml

@ -162,6 +162,7 @@ QGCView {
anchors.right: gstCombo.left anchors.right: gstCombo.left
anchors.rightMargin: ScreenTools.defaultFontPixelWidth anchors.rightMargin: ScreenTools.defaultFontPixelWidth
text: qsTr("GStreamer Debug Level:") text: qsTr("GStreamer Debug Level:")
visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible
} }
FactComboBox { FactComboBox {
@ -172,6 +173,7 @@ QGCView {
width: ScreenTools.defaultFontPixelWidth*20 width: ScreenTools.defaultFontPixelWidth*20
model: ["disabled", "1", "2", "3", "4", "5", "6", "7", "8"] model: ["disabled", "1", "2", "3", "4", "5", "6", "7", "8"]
fact: QGroundControl.settingsManager.appSettings.gstDebugLevel fact: QGroundControl.settingsManager.appSettings.gstDebugLevel
visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible
} }
BusyIndicator { BusyIndicator {

Loading…
Cancel
Save