Fixed AS1/2 Debugger tooltips exception

This commit is contained in:
Jindra Petřík
2023-12-30 18:06:08 +01:00
parent 11760b1f18
commit 7a5aa1eb86
2 changed files with 2 additions and 1 deletions
@@ -289,7 +289,7 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
lastIns = ins;
}
if (selIns != null) {
if (selIns instanceof ActionPush) {
if ((selIns instanceof ActionPush) && (inspos > 0)) {
ActionPush ap = (ActionPush) selIns;
Object var = ap.values.get(inspos - 1);
String identifier = null;