mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not track mouse event on status bar if right panel is not created yet (EA-144532)
GitOrigin-RevId: d5e48c4c8006e21dcb6aa5e631a1118ef7dd646b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e68914fc87
commit
91a9434d63
@@ -522,6 +522,9 @@ public class IdeStatusBarImpl extends JComponent implements Accessible, StatusBa
|
||||
@Override
|
||||
public boolean dispatch(@NotNull AWTEvent e) {
|
||||
if (e instanceof MouseEvent) {
|
||||
if (myRightPanel == null) {
|
||||
return false;
|
||||
}
|
||||
Component component = ((MouseEvent)e).getComponent();
|
||||
if (component == null) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user