Skip to content

Commit

Permalink
SLI-1668 SL icon in the toolwindow should align on New Code setting
Browse files Browse the repository at this point in the history
  • Loading branch information
nquinquenel committed Nov 4, 2024
1 parent 41d1870 commit f6f87c1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,14 @@ public void update(@Nullable VirtualFile file, @Nullable Collection<LiveIssue> i
populateSubTree(tree, treeBuilder, Map.of(file, newIssues));
populateSubTree(oldTree, oldTreeBuilder, Map.of(file, oldIssues));
oldTree.setVisible(true);
updateIcon(file, newIssues);
} else {
populateSubTree(tree, treeBuilder, Map.of(file, this.currentIssues));
populateSubTree(oldTree, oldTreeBuilder, Collections.emptyMap());
oldTree.setVisible(false);
updateIcon(file, this.currentIssues);
}
expandTree();
updateIcon(file, this.currentIssues);
}

private static void populateSubTree(Tree tree, IssueTreeModelBuilder treeBuilder, Map<VirtualFile, Collection<LiveIssue>> issues) {
Expand Down

0 comments on commit f6f87c1

Please sign in to comment.