void (@NotNull SingleInspectionProfilePanel profilePanel) { myConfigurable.removeProfilePanel(profilePanel); final List<InspectionProfileModifiableModel> currentProfiles = ContainerUtil.map(getModel() .getProfilePanels(), SingleInspectionProfilePanel::getProfile); resetSchemes(currentProfiles); selectScheme(ContainerUtil.getFirstItem(currentProfiles)); }