Fixed: #2384 Vanishing pins on AS3 code editing save

This commit is contained in:
Jindra Petřík
2024-12-30 15:13:25 +01:00
parent 1d3fbf0f16
commit 96744b54fa
2 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
- [#2375] Added limit of simultaneously played sounds
- AS1/2 - Push action hilighting, GetProperty, Call action hilighting
- [#2381] Font color values with alpha allowed in html edittext, but alpha ignored
- [#2384] Vanishing pins on AS3 code editing save
## [22.0.1] - 2024-11-20
### Added
@@ -3682,6 +3683,7 @@ Major version of SWF to XML export changed to 2.
[#2375]: https://www.free-decompiler.com/flash/issues/2375
[#2374]: https://www.free-decompiler.com/flash/issues/2374
[#2381]: https://www.free-decompiler.com/flash/issues/2381
[#2384]: https://www.free-decompiler.com/flash/issues/2384
[#2366]: https://www.free-decompiler.com/flash/issues/2366
[#2367]: https://www.free-decompiler.com/flash/issues/2367
[#2372]: https://www.free-decompiler.com/flash/issues/2372

View File

@@ -1734,6 +1734,10 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
if (oldSp != null) {
hilightScript(localAbc.getOpenable(), oldSp, scriptNode);
TreeItem sel = mainPanel.getCurrentTree().getCurrentTreeItem();
if ((sel instanceof ScriptPack) && (sel != pack)) {
mainPanel.replaceItemPin(pack, sel);
}
}
reload();
mainPanel.clearEditingStatus();