From 79948df3d8e37e1ff60c0063fb65c57e093d7a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Thu, 8 May 2025 23:52:04 +0200 Subject: [PATCH] Fixed: Text search was not available as context menu option for AS3 scripts folder --- CHANGELOG.md | 1 + .../jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9712b9b85..803cc1d8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,6 +62,7 @@ All notable changes to this project will be documented in this file. - Editing shape points / transform when first edge has no moveTo flag (coordinates 0, 0) - Exceptions when closing non-ribbon window - [PR215] ffdec.sh - Ignore all java options when checking version +- Text search was not available as context menu option for AS3 scripts folder ### Removed - Option to preview flash items via ActiveX component is no longer available. diff --git a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java index 6ec230c9d..f28e48c00 100644 --- a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java +++ b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java @@ -1068,6 +1068,9 @@ public class TagTreeContextMenu extends JPopupMenu { hasTexts = true; } } + if (item instanceof ClassesListTreeModel) { + hasScripts = true; + } } boolean allSelectedIsTag = true;