diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeCellRenderer.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeCellRenderer.java index 651f08a9ac74..b28eeae6540e 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeCellRenderer.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeCellRenderer.java @@ -95,7 +95,7 @@ class InspectionTreeCellRenderer extends ColoredTreeCellRenderer { final Integer occur = entry.getValue(); SimpleTextAttributes attrs = SimpleTextAttributes.GRAY_ATTRIBUTES; - if (level == HighlightDisplayLevel.ERROR) { + if (level == HighlightDisplayLevel.ERROR && !myView.getGlobalInspectionContext().getUIOptions().GROUP_BY_SEVERITY) { attrs = attrs.derive(-1, JBColor.red.brighter(), null, null); } append(occur + " " + getPresentableName(level, occur > 1) + " ", patchAttr(node, attrs));