Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
bfedbe21
Commit
bfedbe21
authored
Apr 22, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call correct removeAll version based on offline/online
parent
305b1a08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
PlanView.qml
src/PlanView/PlanView.qml
+7
-2
No files found.
src/PlanView/PlanView.qml
View file @
bfedbe21
...
...
@@ -664,9 +664,14 @@ QGCView {
Component
{
id
:
removeAllPromptDialog
QGCViewMessage
{
message
:
qsTr
(
"
Are you sure you want to remove all items? This will also remove all items from the vehicle.
"
)
message
:
qsTr
(
"
Are you sure you want to remove all items?
"
)
+
(
_planMasterController
.
offline
?
""
:
qsTr
(
"
This will also remove all items from the vehicle.
"
))
function
accept
()
{
if
(
_planMasterController
.
offline
)
{
masterController
.
removeAll
()
}
else
{
masterController
.
removeAllFromVehicle
()
}
hideDialog
()
}
}
...
...
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