Unverified Commit 900cc4e7 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8399 from DonLakeFlyer/TelemetrySettings

Settings: Allow telemetry settings section to hide
parents ec0c0625 daae828e
...@@ -415,12 +415,15 @@ Rectangle { ...@@ -415,12 +415,15 @@ Rectangle {
Item { width: 1; height: _margins } Item { width: 1; height: _margins }
QGCLabel { QGCLabel {
text: qsTr("Telemetry Logs from Vehicle") text: qsTr("Telemetry Logs from Vehicle")
visible: telemetryRect.visible
} }
Rectangle { Rectangle {
id: telemetryRect
Layout.preferredHeight: loggingCol.height + (_margins * 2) Layout.preferredHeight: loggingCol.height + (_margins * 2)
Layout.preferredWidth: loggingCol.width + (_margins * 2) Layout.preferredWidth: loggingCol.width + (_margins * 2)
color: qgcPal.windowShade color: qgcPal.windowShade
Layout.fillWidth: true Layout.fillWidth: true
visible: promptSaveLog._telemetrySave.visible || logIfNotArmed._telemetrySaveNotArmed.visible || promptSaveCsv._saveCsvTelemetry.visible
ColumnLayout { ColumnLayout {
id: loggingCol id: loggingCol
anchors.margins: _margins anchors.margins: _margins
......
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