diff --git a/src/com/jpexs/decompiler/flash/gui/MainPanel.java b/src/com/jpexs/decompiler/flash/gui/MainPanel.java index 0f392f8d2..0a32d7601 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/MainPanel.java @@ -2295,8 +2295,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se public void deobfuscate() { DeobfuscationDialog deobfuscationDialog = new DeobfuscationDialog(); - DeobfuscationLevel level = DeobfuscationLevel.getByLevel(deobfuscationDialog.codeProcessingLevel.getValue()); if (deobfuscationDialog.showDialog() == AppDialog.OK_OPTION) { + DeobfuscationLevel level = DeobfuscationLevel.getByLevel(deobfuscationDialog.codeProcessingLevel.getValue()); new CancellableWorker() { @Override protected Void doInBackground() throws Exception {