Commit 6503e088 authored by Don Gagne's avatar Don Gagne

Use new QGCFileDialog support

parent 173f35ac
......@@ -152,8 +152,21 @@ AnalyzePage {
var o = logController.model.get(rowIndex)
if (o) o.selected = true
})
//-- Download them
logController.download()
fileDialog.qgcView = logDownloadPage
fileDialog.title = qsTr("Select save directory")
fileDialog.selectExisting = true
fileDialog.folder = QGroundControl.settingsManager.appSettings.telemetrySavePath
fileDialog.selectFolder = true
fileDialog.openForLoad()
}
QGCFileDialog {
id: fileDialog
onAcceptedForLoad: {
logController.download(file)
close()
}
}
}
......
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