Commit 33f47d60 authored by DonLakeFlyer's avatar DonLakeFlyer

Remove all removes from vehicle as well

parent 89c5e5ed
...@@ -822,10 +822,10 @@ QGCView { ...@@ -822,10 +822,10 @@ QGCView {
Component { Component {
id: removeAllPromptDialog id: removeAllPromptDialog
QGCViewMessage { QGCViewMessage {
message: qsTr("Are you sure you want to remove all items?") message: qsTr("Are you sure you want to remove all items? This will also remove all items from the vehicle.")
function accept() { function accept() {
itemDragger.clearItem() itemDragger.clearItem()
_syncDropDownController.removeAll() _syncDropDownController.removeAllFromVehicle()
hideDialog() hideDialog()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment