mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
GT-2877 fix file chooser to not put bogus file in model after failure.
If failed to create new folder due to filesystem permissions or whatever, don't put a bogus entry in the file list model.
This commit is contained in:
@@ -1282,6 +1282,7 @@ public class GhidraFileChooser extends DialogComponentProvider
|
||||
if (!created) {
|
||||
Msg.showError(this, rootPanel, "Create Folder Failed",
|
||||
"Unable to create new folder in " + currentDirectory());
|
||||
return;
|
||||
}
|
||||
|
||||
GhidraFile folder =
|
||||
|
||||
Reference in New Issue
Block a user