inspection toolwindow: do not handle ignored leaf node as problem IDEA-157156

This commit is contained in:
Dmitry Batkovich
2016-06-30 15:47:33 +03:00
parent 129480ac21
commit 412299a25c
@@ -119,7 +119,7 @@ public class RefElementNode extends SuppressableInspectionTreeNode {
@Override
public int getProblemCount() {
return isLeaf() ? 1 : super.getProblemCount();
return isLeaf() ? myPresentation.getIgnoredRefElements().contains(getElement()) ? 0 : 1 : super.getProblemCount();
}
@Override