mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert IDEA-58285 Menu is shown partially when focus is not on IDE window before clicking to menu by mouse [Minimal Version Control Menu sometimes shows instead of full one]
This commit is contained in:
@@ -254,7 +254,7 @@ public final class ActionMenu extends JMenu {
|
||||
mayContextBeInvalid = false;
|
||||
}
|
||||
else {
|
||||
context = DataManager.getInstance().getDataContext(this);
|
||||
context = DataManager.getInstance().getDataContext();
|
||||
mayContextBeInvalid = true;
|
||||
}
|
||||
Utils.fillMenu(myGroup.getAction(), this, myMnemonicEnabled, myPresentationFactory, context, myPlace, true, mayContextBeInvalid);
|
||||
|
||||
Reference in New Issue
Block a user