classes list tree search fix

This commit is contained in:
honfika@gmail.com
2015-03-19 23:33:18 +01:00
parent 2ada8667bb
commit 4f1f9d45c2
4 changed files with 16 additions and 9 deletions

View File

@@ -871,8 +871,9 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
if (n instanceof ClassesListTreeModel) {
((ClassesListTreeModel) n).setFilter(filterField.getText());
TagTreeModel tm = tagTree.getModel();
tm.updateNode(n);
View.expandTreeNodes(tagTree, tm.getTreePath(n), true);
TreePath path = tm.getTreePath(n);
tm.updateNode(path);
View.expandTreeNodes(tagTree, path, true);
}
}
}