diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java index dc339b1c3fe0..c2d8af1bda6b 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java @@ -160,7 +160,7 @@ public class InspectionTreeModel extends BaseTreeModel { @NotNull public InspectionNode createInspectionNode(@NotNull InspectionToolWrapper toolWrapper, InspectionProfileImpl profile, @NotNull InspectionTreeNode parent) { - return getOrAdd(toolWrapper, () -> new InspectionNode(toolWrapper, profile, this), parent); + return getOrAdd(toolWrapper.getShortName(), () -> new InspectionNode(toolWrapper, profile, this), parent); } public void createProblemDescriptorNode(RefEntity element,