GP-4109 - Fixed failure to open the last used project when running a new

release of Ghidra the first time
This commit is contained in:
dragonmacher 2023-12-05 13:54:20 -05:00
parent 58e22a6f7b
commit bfd16302f1
2 changed files with 4 additions and 4 deletions

View file

@ -192,7 +192,7 @@ public class DefaultProjectManager implements ProjectManager {
*/
@Override
public ProjectLocator getLastOpenedProject() {
String projectPath = Preferences.getProperty(LAST_OPENED_PROJECT);
String projectPath = Preferences.getProperty(LAST_OPENED_PROJECT, null, true);
if (projectPath == null || projectPath.trim().length() == 0) {
return null;
}