mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix NPE
This commit is contained in:
@@ -295,8 +295,12 @@ public class IdeMenuBar extends JMenuBar implements IdeEventQueue.EventDispatche
|
||||
return false;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private Component findActualComponent(MouseEvent mouseEvent) {
|
||||
Component component = mouseEvent.getComponent();
|
||||
if (component == null) {
|
||||
return null;
|
||||
}
|
||||
Component deepestComponent;
|
||||
if (getState() != State.EXPANDED &&
|
||||
!getState().isInProgress() &&
|
||||
|
||||
Reference in New Issue
Block a user