Ghidra is a software reverse engineering (SRE) framework
changed 'save project' action to have the same 'save' behavior as closing the front end.
ghidravoree890f4a54dec
diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FileActionManager.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FileActionManager.javaindex 1cec05a349..89c33b5b98 100644--- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FileActionManager.java+++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FileActionManager.java@@ -556,6 +556,13 @@ class FileActionManager {if (project == null) {return;}++ if (!project.saveSessionTools()) {+ // if tools have conflicting options, user is presented with a dialog that can+ // be cancelled. If they press the cancel button, abort the entire save project action.+ return;+ }+doSaveProject(project);Msg.info(this, "Saved project: " + project.getName());}@@ -684,8 +691,7 @@ class FileActionManager {sb.append("The following files are Read-Only and cannot be\n" +" saved 'As Is.' You must do a manual 'Save As' for these\n" + " files: \n \n");- for (int i = 0; i < list.size(); i++) {- DomainObject obj = list.get(i);+ for (DomainObject obj : list) {sb.append(obj.getDomainFile().getPathname());sb.append("\n");}