mainWindow.showMessageDialog(qsTr("Unable to Save/Upload"),qsTr("Plan is waiting on terrain data from server for correct altitude values."))
functionwaitingOnIncompleteDataMessage(save){
varsaveOrUpload=save?qsTr("Save"):qsTr("Upload")
mainWindow.showMessageDialog(qsTr("Unable to %1").arg(saveOrUpload),qsTr("Plan has incomplete items. Complete all items and %1 again.").arg(saveOrUpload))
}
functionwaitingOnTerrainDataMessage(save){
varsaveOrUpload=save?qsTr("Save"):qsTr("Upload")
mainWindow.showMessageDialog(qsTr("Unable to %1").arg(saveOrUpload),qsTr("Plan is waiting on terrain data from server for correct altitude values."))