Fixed AS3 Cast exception when used tree filter and then direct editing

This commit is contained in:
Jindra Petřík
2023-10-18 18:25:42 +02:00
parent 12c132d4b3
commit 823a5fd97e
2 changed files with 2 additions and 1 deletions

View File

@@ -1850,7 +1850,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
public List<TreeItem> getASTreeNodes(TagTree tree) {
List<TreeItem> result = new ArrayList<>();
TagTreeModel tm = (TagTreeModel) tree.getModel();
TagTreeModel tm = (TagTreeModel) tree.getFullModel();
if (tm == null) {
return result;
}