diff --git a/src/com/jpexs/decompiler/flash/gui/Main.java b/src/com/jpexs/decompiler/flash/gui/Main.java index 78710b81f..537262cb3 100644 --- a/src/com/jpexs/decompiler/flash/gui/Main.java +++ b/src/com/jpexs/decompiler/flash/gui/Main.java @@ -1823,6 +1823,12 @@ public class Main { } ((SWF)openable).gfx = true; } + + if (selFilter == abcFilter) { + if (!fileName.toLowerCase(Locale.ENGLISH).endsWith(".abc")) { + fileName += ".abc"; + } + } Main.saveFile(openable, fileName, mode, exeExportMode); Configuration.lastSaveDir.set(file.getParentFile().getAbsolutePath()); return true;