Skip to content

Commit

Permalink
Fixed: #2384 Vanishing pins on AS3 code editing save
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrapetrik committed Dec 30, 2024
1 parent 3031f0a commit bc24feb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,10 @@ private void saveDecompiled(boolean refreshTree) {

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();
Expand Down

0 comments on commit bc24feb

Please sign in to comment.