[actions] IJPL-157631 IJPL-157767 Tool windows: disable multi-choice for View Mode toggles completely

GitOrigin-RevId: 17decef17d38f93186b7213dd54bac0871ad7fc3
This commit is contained in:
Yuriy Artamonov
2024-07-05 23:10:59 +02:00
committed by intellij-monorepo-bot
parent 32aa861ca1
commit 28db848128

View File

@@ -82,7 +82,7 @@ public class ToolWindowViewModeAction extends DumbAwareToggleAction implements F
Presentation presentation = getTemplatePresentation();
presentation.setText(ActionsBundle.actionText(myMode.myActionID));
presentation.setDescription(ActionsBundle.actionDescription(myMode.myActionID));
presentation.setKeepPopupOnPerform(KeepPopupOnPerform.IfRequested);
presentation.setKeepPopupOnPerform(KeepPopupOnPerform.Never);
}
protected @Nullable ToolWindowManager getToolWindowManager(AnActionEvent e) {