Skip to content
GitLab
Menu
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
9b7b32b7
Commit
9b7b32b7
authored
Dec 08, 2014
by
Don Gagne
Browse files
Check the log save settings before emitting save log signal
parent
c27191b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/MAVLinkProtocol.cc
View file @
9b7b32b7
...
...
@@ -694,7 +694,11 @@ void MAVLinkProtocol::_startLogging(void)
void
MAVLinkProtocol
::
_stopLogging
(
void
)
{
if
(
_closeLogFile
())
{
emit
saveTempFlightDataLog
(
_tempLogFile
.
fileName
());
if
(
qgcApp
()
->
promptFlightDataSave
())
{
emit
saveTempFlightDataLog
(
_tempLogFile
.
fileName
());
}
else
{
QFile
::
remove
(
_tempLogFile
.
fileName
());
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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