Fixed: #2450 Morphshape replace button/menu is not working (throws exception due to missing icon)

This commit is contained in:
Jindra Petřík
2025-05-01 09:30:12 +02:00
parent a685719d88
commit 598294de9c
2 changed files with 3 additions and 1 deletions

View File

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

View File

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