From 598294de9cb5d7c59c4e624c14b8fbe5008a90d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Thu, 1 May 2025 09:30:12 +0200 Subject: [PATCH] Fixed: #2450 Morphshape replace button/menu is not working (throws exception due to missing icon) --- CHANGELOG.md | 2 ++ src/com/jpexs/decompiler/flash/gui/MainPanel.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7162ad1cf..78d1f7ace 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ All notable changes to this project will be documented in this file. - AS3 - AIR float support - ABC Explorer incorrectly calculating float usages (For clean action, etc.) - [#2446] Nightly version asked for update to previous stable - [#2447] SVG import - gradients can inherit (href) from other gradient types (radial vs linear) +- [#2450] Morphshape replace button/menu is not working (throws exception due to missing icon) ## [22.0.2] - 2025-01-17 ### Added @@ -3746,6 +3747,7 @@ Major version of SWF to XML export changed to 2. [#2415]: https://www.free-decompiler.com/flash/issues/2415 [#2446]: https://www.free-decompiler.com/flash/issues/2446 [#2447]: https://www.free-decompiler.com/flash/issues/2447 +[#2450]: https://www.free-decompiler.com/flash/issues/2450 [#2375]: https://www.free-decompiler.com/flash/issues/2375 [#2374]: https://www.free-decompiler.com/flash/issues/2374 [#2389]: https://www.free-decompiler.com/flash/issues/2389 diff --git a/src/com/jpexs/decompiler/flash/gui/MainPanel.java b/src/com/jpexs/decompiler/flash/gui/MainPanel.java index d09a9aa3c..e0fab2dd6 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/MainPanel.java @@ -4936,7 +4936,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se } public boolean replaceMorphShape(MorphShapeTag morphShape, boolean create, boolean fill) { - File fileStart = showImportFileChooser("filter.images|*.jpg;*.jpeg;*.gif;*.png;*.bmp;*.svg", true, AppStrings.translate("dialog.morphshape.startShape")); + File fileStart = showImportFileChooser("filter.images|*.jpg;*.jpeg;*.gif;*.png;*.bmp;*.svg", true, AppStrings.translate("dialog.morphshape.startShape"), "importmorphshape"); if (fileStart == null) { return false; }