From 192a18391e0be93a4b8e96dc73d757d25fe53217 Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Thu, 3 Mar 2016 16:07:57 +0300 Subject: [PATCH] inspection tool window: do not recreate tree when "exclude" action is invoked. just repaint --- .../com/intellij/codeInspection/ui/InspectionResultsView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java index c8e77bc948cc..708a4ae09dec 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java @@ -275,7 +275,8 @@ public class InspectionResultsView extends JPanel implements Disposable, Occuren ((InspectionTreeNode)path.getLastPathComponent()).ignoreElement(); } } - updateView(false); + myTree.revalidate(); + myTree.repaint(); } @Override