Fixed AS2 - Do not detect classes inside functions

This commit is contained in:
Jindra Petřík
2021-11-22 20:11:31 +01:00
parent 2e3b4d26ff
commit 8532ba11c3
8 changed files with 32 additions and 25 deletions
@@ -980,7 +980,7 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
if (lastCode != null) {
try {
boolean insideDoInitAction = (this.src instanceof DoInitActionTag);
GraphDialog gf = new GraphDialog(mainPanel.getMainFrame().getWindow(), new ActionGraph(this.src.getScriptName(), insideDoInitAction, lastCode, new HashMap<>(), new HashMap<>(), new HashMap<>(), SWF.DEFAULT_VERSION), "");
GraphDialog gf = new GraphDialog(mainPanel.getMainFrame().getWindow(), new ActionGraph(this.src.getScriptName(), insideDoInitAction, false, lastCode, new HashMap<>(), new HashMap<>(), new HashMap<>(), SWF.DEFAULT_VERSION), "");
gf.setVisible(true);
} catch (InterruptedException ex) {
logger.log(Level.SEVERE, null, ex);