mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-24 21:21:56 +00:00
Merge remote-tracking branch
'origin/GP-1201_ryanmkurtz_exporter-extensions' into patch (Closes #3325)
This commit is contained in:
commit
9c5c5c5a94
@ -387,7 +387,11 @@ public class ExporterDialog extends DialogComponentProvider implements AddressFa
|
||||
|
||||
private String appendExporterFileExtension(String filename) {
|
||||
Exporter exporter = getSelectedExporter();
|
||||
String extension = "." + exporter.getDefaultFileExtension();
|
||||
String extension = exporter.getDefaultFileExtension();
|
||||
if (extension.isEmpty()) {
|
||||
return filename;
|
||||
}
|
||||
extension = "." + extension;
|
||||
if (!filename.toLowerCase().endsWith(extension.toLowerCase())) {
|
||||
return filename + extension;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user