Do not allow to global search in editation mode

This commit is contained in:
Jindra Petřík
2025-08-14 09:41:36 +02:00
parent 4dbdc09278
commit d4118257e1
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ All notable changes to this project will be documented in this file.
- [#2507] FLA export - Place characters over multiple button frames
- [#2508] AS1/2 direct editation - first command in for loop header not compiled
- [#2510] AS direct editation - popped value
- [#2511] Allowing to jump from search window while editation causing problems
- [#2511] Allowing to search or to jump from search window while in editation mode
### Changed
- Icon of "Deobfuscation options" menu from pile of pills to medkit
@@ -2940,6 +2940,11 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
public void searchInActionScriptOrText(Boolean searchInText, Openable openable, boolean useSelection) {
View.checkAccess();
if (checkEdited())
{
return;
}
/*if (!(openable instanceof SWF)) { //FIXME for ABCs
return;
}*/