Commit e2696ac4 authored by Don Gagne's avatar Don Gagne Committed by DonLakeFlyer

Merge pull request #8802 from mavlink/LogReplayLoad

Mobile Log Replay: Fix file dialog
parent 44d55231
......@@ -16,6 +16,7 @@ Note: This file only contains high level features or important fixes.
## 4.0.8 - Not yet released
* iOS: Modify QGC file storage location to support new Files app
* Mobile: Fix Log Replay status bar file selection
## 4.0.7 - Stable
......
......@@ -28,13 +28,16 @@ Rectangle {
QGCFileDialog {
id: filePicker
title: qsTr("Select Telemetery Log")
nameFilters: [qsTr("Telemetry Logs (*.%1)").arg(QGroundControl.settingsManager.appSettings.telemetryFileExtension), qsTr("All Files (*)")]
nameFilters: [qsTr("Telemetry Logs (*.%1)").arg(_logFileExtension), qsTr("All Files (*)")]
fileExtension: _logFileExtension
selectExisting: true
folder: QGroundControl.settingsManager.appSettings.telemetrySavePath
onAcceptedForLoad: {
controller.link = QGroundControl.linkManager.startLogReplay(file)
close()
}
property string _logFileExtension: QGroundControl.settingsManager.appSettings.telemetryFileExtension
}
LogReplayLinkController {
......
......@@ -39,8 +39,8 @@ CheckBox {
implicitHeight: implicitWidth
Rectangle {
anchors.fill: parent
color: control.enabled ? "white" : "gray"
border.color: qgcPal.text
color: control.enabled ? "white" : _qgcPal.text
border.color: _qgcPal.text
border.width: 1
opacity: control.checkedState === Qt.PartiallyChecked ? 0.5 : 1
QGCColoredImage {
......
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