diff --git a/CHANGELOG.md b/CHANGELOG.md index 211053baa..32f4913b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ All notable changes to this project will be documented in this file. - Generic tag editor - display of array brackets - Generic tag editor - GRADIENT filters fields - [#2099] Smart number formatting precedence +- AS3 Direct editation - Cannot save code after switching deobfuscation ### Changed - AS1/2 P-code action parameters are now separated by commas, code without commas is still accepted diff --git a/src/com/jpexs/decompiler/flash/gui/MainPanel.java b/src/com/jpexs/decompiler/flash/gui/MainPanel.java index 780a01eaf..ac7de67d6 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/MainPanel.java @@ -2998,11 +2998,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se public void autoDeobfuscateChanged() { Helper.decompilationErrorAdd = AppStrings.translate(Configuration.autoDeobfuscate.get() ? "deobfuscation.comment.failed" : "deobfuscation.comment.tryenable"); clearAllScriptCache(); - if (abcPanel != null) { - abcPanel.reload(); - } - reload(true); updateClassesList(); + reload(true); } public void renameColliding(final Openable openable) {