diff --git a/CHANGELOG.md b/CHANGELOG.md index 26a24c85c..bef58e06d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file. - Folder preview tag names have indices when multiple with same name - ShapeImporter fillstyles shapenum - Reload button disabled after saving new file +- PlaceObject tag - do not display export name twice ### Changed - Quick search needs minimum of 3 characters diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/PlaceObjectTypeTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/PlaceObjectTypeTag.java index 7fda9ba20..6fbc63bae 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/PlaceObjectTypeTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/PlaceObjectTypeTag.java @@ -102,8 +102,7 @@ public abstract class PlaceObjectTypeTag extends Tag implements CharacterIdTag { if (getCharacterId() != -1) { result += " (" + getCharacterId() + nameAppend + ")"; - } - if (!nameAppend.isEmpty()) { + } else if (!nameAppend.isEmpty()) { result += " (" + nameAppend + ")"; }