mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Inspections settings ui: NPE fixed (on pressing "OK" with unsaved changes)
This commit is contained in:
+1
-1
@@ -684,7 +684,7 @@ public class SingleInspectionProfilePanel extends JPanel {
|
||||
}
|
||||
|
||||
private void updateOptionsAndDescriptionPanel(final TreePath... paths) {
|
||||
if (paths == null || paths.length == 0) {
|
||||
if (mySelectedProfile == null || paths == null || paths.length == 0) {
|
||||
return;
|
||||
}
|
||||
final TreePath path = paths[0];
|
||||
|
||||
Reference in New Issue
Block a user