message:qsTr("You have unsaved/unsent mission changes. Loading the mission from the Vehicle will lose these changes. Are you sure you want to load the mission from the Vehicle?")
functionaccept(){
hideDialog()
loadFromVehicle()
...
...
@@ -738,11 +730,9 @@ QGCView {
Component{
id:syncLoadFromFileOverwrite
QGCViewMessage{
id:syncLoadFromVehicleCheck
message:qsTr("You have unsaved/unsent mission changes. Loading a mission from a file will lose these changes. Are you sure you want to load a mission from a file?")
functionaccept(){
hideDialog()
loadFromFile()
...
...
@@ -752,10 +742,8 @@ QGCView {
Component{
id:removeAllPromptDialog
QGCViewMessage{
message:qsTr("Are you sure you want to delete all mission items?")
functionaccept(){
itemDragger.clearItem()
controller.removeAllMissionItems()
...
...
@@ -766,38 +754,36 @@ QGCView {
Component{
id:syncDropDownComponent
Column{
id:columnHolder
spacing:_margin
QGCLabel{
width:sendSaveRow.width
width:sendSaveGrid.width
wrapMode:Text.WordWrap
text:syncNeeded&&!controller.autoSync?
qsTr("You have unsaved changed to you mission. You should send to your vehicle, or save to a file:"):