From fb988af2ffdff4b09d0e868ddc52644b92e454b9 Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Thu, 1 Dec 2016 13:23:30 +0300 Subject: [PATCH] inspection settings: non-default profile page is empty (IDEA-164833 ) --- .../codeInspection/ui/header/InspectionToolsConfigurable.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 5f1dd46b52ee..7db3d1d53e95 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 @@ -154,7 +154,6 @@ public abstract class InspectionToolsConfigurable extends BaseConfigurable protected void addProfile(InspectionProfileModifiableModel model) { final SingleInspectionProfilePanel panel = createPanel(model); myPanels.add(panel); - panel.setVisible(false); myProfilePanelHolder.add(panel); myProfiles.getProfilesComboBox().addProfile(model); myProfiles.getProfilesComboBox().selectProfile(model); @@ -198,7 +197,7 @@ public abstract class InspectionToolsConfigurable extends BaseConfigurable final JPanel toolbar = new JPanel(); toolbar.setBorder(BorderFactory.createEmptyBorder(0, 0, 7, 0)); - myProfilePanelHolder = new JPanel(new BorderLayout()); + myProfilePanelHolder = new JPanel(); wholePanel.add(toolbar, BorderLayout.PAGE_START); wholePanel.add(myProfilePanelHolder, BorderLayout.CENTER); @@ -529,7 +528,6 @@ public abstract class InspectionToolsConfigurable extends BaseConfigurable modifiableProfiles.add(inspectionProfile); final SingleInspectionProfilePanel panel = createPanel(inspectionProfile); myPanels.add(panel); - panel.setVisible(false); myProfilePanelHolder.add(panel); } myProfiles.getProfilesComboBox().reset(modifiableProfiles);