Fixed: AS1/2 direct editation - Position in the code should stay same after clicking Edit button

This commit is contained in:
Jindra Petřík
2025-05-28 08:27:02 +02:00
parent 8f8cd3536d
commit d3dd8224d4
2 changed files with 2 additions and 3 deletions

View File

@@ -1204,9 +1204,7 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
View.checkAccess();
if (src != null) {
if (val) {
setDecompiledText(src.getScriptName(), src.getExportedScriptName(), lastDecompiled.text);
} else {
if (!val) {
setDecompiledText(src.getScriptName(), src.getExportedScriptName(), lastDecompiled.text);
}
}