mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix for NPE (EA-37892)
This commit is contained in:
@@ -188,7 +188,8 @@ public abstract class ComboBoxAction extends AnAction implements CustomComponent
|
||||
if (rectangle.contains(eventPoint)) {
|
||||
MouseEvent event = SwingUtilities.convertMouseEvent(e.getComponent(), e, myPopup.getContent());
|
||||
Component component = SwingUtilities.getDeepestComponentAt(content, event.getX(), event.getY());
|
||||
component.dispatchEvent(event);
|
||||
if (component != null)
|
||||
component.dispatchEvent(event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user