savedProject.setProjectFile(saveFile);
// Update the window title to reflect the new name of the project
if (MZmineCore.getDesktop() instanceof MainWindow) {
MainWindow mainWindow = (MainWindow) MZmineCore.getDesktop();
mainWindow.updateTitle();
}
logger.info("Finished saving the project to " + saveFile);
setStatus(TaskStatus.FINISHED);