diff --git a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/header/InspectionToolsConfigurable.java b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/header/InspectionToolsConfigurable.java index d59cd1a1fda8..da658ced7c2a 100644 --- a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/header/InspectionToolsConfigurable.java +++ b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/header/InspectionToolsConfigurable.java @@ -668,7 +668,7 @@ public abstract class InspectionToolsConfigurable extends BaseConfigurable @Override public JComponent getPreferredFocusedComponent() { - final InspectionProfileImpl inspectionProfile = getSelectedObject(); + final InspectionProfileImpl inspectionProfile = myProfiles.getSelectedProfile(); SingleInspectionProfilePanel panel = getProfilePanel(inspectionProfile); return panel == null ? null : panel.getPreferredFocusedComponent(); }