mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection settings: myProfilePanelHolder should be preferred component to focus
This commit is contained in:
+1
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user