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
bfedbe21
Commit
bfedbe21
authored
Apr 22, 2017
by
DonLakeFlyer
Browse files
Call correct removeAll version based on offline/online
parent
305b1a08
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
()
{
masterController
.
removeAllFromVehicle
()
if
(
_planMasterController
.
offline
)
{
masterController
.
removeAll
()
}
else
{
masterController
.
removeAllFromVehicle
()
}
hideDialog
()
}
}
...
...
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