Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ private void expandConcept(InvertedTree.ConceptItem conceptItem, boolean highlig
parent = item;
if (i == lineage.size() - 2) { // select and scroll to parent, so it stays visible on top of the treeView
treeView.getSelectionModel().select(item);
treeView.scrollTo(treeView.getSelectionModel().getSelectedIndex());
Platform.runLater(() -> treeView.scrollTo(treeView.getSelectionModel().getSelectedIndex()));
treeView.getSelectionModel().clearSelection();
} else if (i == lineage.size() - 1) { // then, select, and highlight item
treeView.getSelectionModel().select(item);
Expand Down