diff --git a/ChangeLog.md b/ChangeLog.md index 2b4787fc56a75a49e8d75df0ccdacbc5332156e2..019be5cff26b94d063abf735d4cb6d354526c99a 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/src/QmlControls/LogReplayStatusBar.qml b/src/QmlControls/LogReplayStatusBar.qml index 327d1c4e310d52442305d827b7411ddad820a47c..f341624faadabe0e157b1e3c9eb5abf6d1484231 100644 --- a/src/QmlControls/LogReplayStatusBar.qml +++ b/src/QmlControls/LogReplayStatusBar.qml @@ -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 { diff --git a/src/QmlControls/QGCCheckBox.qml b/src/QmlControls/QGCCheckBox.qml index cc1ee82d2b948e77cd5a1178a7f47c655c2a26d7..9a8e6943dd51885efa033a1d68e3253260f3810a 100644 --- a/src/QmlControls/QGCCheckBox.qml +++ b/src/QmlControls/QGCCheckBox.qml @@ -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 {