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 7cfc0ee621fa..3f0e5c0341f8 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 @@ -667,9 +667,7 @@ public abstract class InspectionToolsConfigurable extends BaseConfigurable @Override public JComponent getPreferredFocusedComponent() { - final InspectionProfileImpl inspectionProfile = myProfiles.getProfilesComboBox().getSelectedProfile(); - SingleInspectionProfilePanel panel = getProfilePanel(inspectionProfile); - return panel == null ? null : panel.getPreferredFocusedComponent(); + return myProfilePanelHolder; } private void showProfile(InspectionProfileImpl profile) {