//create a popup notifying the user about the limitations of offline editing
if(showOfflineWarning==true)
{
QMessageBoxmsgBox;
msgBox.setIcon(QMessageBox::Warning);
msgBox.setText("Offline editor!");
msgBox.setInformativeText("You are using the offline mission editor. Please don't forget to save your mission plan before connecting the UAV, otherwise it will be lost.");