Merge remote-tracking branch 'origin/patch'

This commit is contained in:
Ryan Kurtz 2021-08-16 16:10:46 -04:00
commit b55d1049d4

View File

@ -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;
}