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 cd2039fcf298..acd29170991d 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java @@ -1,4 +1,4 @@ -// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInspection.ui; @@ -264,9 +264,9 @@ public class InspectionResultsView extends JPanel implements Disposable, DataPro return myTree.getOccurenceNavigator().getPreviousOccurenceActionName(); } - private static JComponent createToolbar(final DefaultActionGroup specialGroup) { + private JComponent createToolbar(final DefaultActionGroup specialGroup) { final ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.CODE_INSPECTION, specialGroup, false); - //toolbar.setTargetComponent(this); + toolbar.setTargetComponent(this); return toolbar.getComponent(); }