mainWindow.showDialog(applyNewAltitude,qsTr("Apply new alititude"),mainWindow.showDialogDefaultWidth,StandardButton.Yes|StandardButton.No)
...
...
@@ -138,10 +130,8 @@ Item {
Component{
id:applyNewAltitude
QGCViewMessage{
message:qsTr("You have changed the default altitude for mission items. Would you like to apply that altitude to all the items in the current mission?")
functionaccept(){
hideDialog()
_missionController.applyDefaultMissionAltitude()
...
...
@@ -151,25 +141,20 @@ Item {
Component{
id:activeMissionUploadDialogComponent
QGCViewDialog{
Column{
anchors.fill:parent
spacing:ScreenTools.defaultFontPixelHeight
QGCLabel{
width:parent.width
wrapMode:Text.WordWrap
text:qsTr("Your vehicle is currently flying a mission. In order to upload a new or modified mission the current mission will be paused.")
}
QGCLabel{
width:parent.width
wrapMode:Text.WordWrap
text:qsTr("After the mission is uploaded you can adjust the current waypoint and start the mission.")