Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
6503e088
Commit
6503e088
authored
Apr 12, 2017
by
Don Gagne
Browse files
Use new QGCFileDialog support
parent
173f35ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AnalyzeView/LogDownloadPage.qml
View file @
6503e088
...
...
@@ -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
()
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment