Fix popup place of action group on toolbar for Problems View (IDEA-238791)

GitOrigin-RevId: 7f86b52c40c937b84fef20a30ee2188488236ed5
This commit is contained in:
Sergey Malenkov
2020-05-15 00:08:26 +00:00
committed by intellij-monorepo-bot
parent cdd49ab8ee
commit f53dbf0532
@@ -189,7 +189,8 @@ public class ActionButton extends JComponent implements ActionButtonComponent, A
protected void showPopupMenu(AnActionEvent event, ActionGroup actionGroup) {
if (myPopupState.isRecentlyHidden()) return; // do not show new popup
final ActionManagerImpl am = (ActionManagerImpl) ActionManager.getInstance();
ActionPopupMenuImpl popupMenu = (ActionPopupMenuImpl)am.createActionPopupMenu(event.getPlace(), actionGroup, new MenuItemPresentationFactory() {
String place = ActionPlaces.getActionGroupPopupPlace(event.getPlace());
ActionPopupMenuImpl popupMenu = (ActionPopupMenuImpl)am.createActionPopupMenu(place, actionGroup, new MenuItemPresentationFactory() {
@Override
protected void processPresentation(Presentation presentation) {
if (myNoIconsInPopup) {