@ -90,7 +90,7 @@ QGCView {
@@ -90,7 +90,7 @@ QGCView {
function loadFromFile ( ) {
if ( ScreenTools . isMobile ) {
_root . showDialog ( mobileFilePicker , qsTr ( "Select Mission File" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . Cancel , true )
_root . showDialog ( mobileFilePicker , qsTr ( "Select Mission File" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . Cancel )
} else {
controller . loadMissionFromFilePicker ( )
fitViewportToMissionItems ( )
@ -99,7 +99,7 @@ QGCView {
@@ -99,7 +99,7 @@ QGCView {
function saveToFile ( ) {
if ( ScreenTools . isMobile ) {
_root . showDialog ( mobileFileSaver , qsTr ( "Save Mission File" ) , _root . showDialogDefaultWidth , StandardButton . Save | StandardButton . Cancel , true )
_root . showDialog ( mobileFileSaver , qsTr ( "Save Mission File" ) , _root . showDialogDefaultWidth , StandardButton . Save | StandardButton . Cancel )
} else {
controller . saveMissionToFilePicker ( )
}
@ -801,7 +801,7 @@ QGCView {
@@ -801,7 +801,7 @@ QGCView {
onClicked: {
syncButton . hideDropDown ( )
if ( syncNeeded ) {
_root . showDialog ( syncLoadFromVehicleOverwrite , qsTr ( "Mission overwrite" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . Cancel , true )
_root . showDialog ( syncLoadFromVehicleOverwrite , qsTr ( "Mission overwrite" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . Cancel )
} else {
loadFromVehicle ( )
}
@ -829,7 +829,7 @@ QGCView {
@@ -829,7 +829,7 @@ QGCView {
onClicked: {
syncButton . hideDropDown ( )
if ( syncNeeded ) {
_root . showDialog ( syncLoadFromFileOverwrite , qsTr ( "Mission overwrite" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . Cancel , true )
_root . showDialog ( syncLoadFromFileOverwrite , qsTr ( "Mission overwrite" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . Cancel )
} else {
loadFromFile ( )
}
@ -841,7 +841,7 @@ QGCView {
@@ -841,7 +841,7 @@ QGCView {
text: qsTr ( "Remove all" )
onClicked: {
syncButton . hideDropDown ( )
_root . showDialog ( removeAllPromptDialog , qsTr ( "Delete all" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . No , true )
_root . showDialog ( removeAllPromptDialog , qsTr ( "Delete all" ) , _root . showDialogDefaultWidth , StandardButton . Yes | StandardButton . No )
}
}