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
4dea0fcc
Commit
4dea0fcc
authored
Jun 07, 2017
by
Gus Grubba
Committed by
GitHub
Jun 07, 2017
Browse files
Merge pull request #5259 from dogmaphobic/appMessages
Replace FileDialog with QGCFileDialog
parents
8134bf1a
5be3507d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/AppMessages.qml
View file @
4dea0fcc
...
...
@@ -111,17 +111,16 @@ QGCView {
delegate
:
delegateItem
}
FileDialog
{
QGC
FileDialog
{
id
:
writeDialog
folder
:
shortcuts
.
home
folder
:
QGroundControl
.
settingsManager
.
appSettings
.
logSavePath
nameFilters
:
[
qsTr
(
"
Log files (*.txt)
"
),
qsTr
(
"
All Files (*)
"
)]
selectExisting
:
false
title
:
qsTr
(
"
Select log save file
"
)
onAccepted
:
{
onAccepted
ForSave
:
{
debugMessageModel
.
writeMessages
(
fileUrl
);
visible
=
false
;
}
onRejected
:
visible
=
false
}
Connections
{
...
...
@@ -134,7 +133,7 @@ QGCView {
id
:
writeButton
anchors.bottom
:
parent
.
bottom
anchors.left
:
parent
.
left
onClicked
:
writeDialog
.
visible
=
true
onClicked
:
writeDialog
.
openForSave
()
text
:
qsTr
(
"
Save App Log
"
)
}
...
...
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