mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-68122 - NPE: InspectionToolsConfigurable.getPreferredFocusedComponent
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user