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:
@@ -494,6 +494,9 @@ public class IdeMenuBar extends JMenuBar implements IdeEventQueue.EventDispatche
|
||||
break;
|
||||
default:
|
||||
}
|
||||
if (!isShowing()) {
|
||||
return;
|
||||
}
|
||||
revalidate();
|
||||
if (getState() == State.COLLAPSED) {
|
||||
//we should repaint parent, to clear 1px on top when menu is collapsed
|
||||
|
||||
Reference in New Issue
Block a user