make all "Group By" and "View Options" popups multi-choice
[idea/community.git] / platform / platform-impl / src / com / intellij / ui / popup / PopupFactoryImpl.java
index 6267327e69a8d2ecedd191e3b77dc8c26e6c1287..9a377ce529451a94052d57d68273b65266986725 100644 (file)
@@ -696,7 +696,7 @@ public class PopupFactoryImpl extends JBPopupFactory {
       myIsEnabled = presentation.isEnabled();
       myIsPerformGroup = myAction instanceof ActionGroup && presentation.isPerformGroup();
       myIsSubstepSuppressed = myAction instanceof ActionGroup && Utils.isSubmenuSuppressed(presentation);
-      myIsKeepPopupOpen = myAction instanceof KeepingPopupOpenAction || presentation.isMultipleChoice();
+      myIsKeepPopupOpen = myIsKeepPopupOpen || myAction instanceof KeepingPopupOpenAction || presentation.isMultipleChoice();
 
       Couple<Icon> icons = ActionStepBuilder.calcRawIcons(myAction, presentation);
       Icon icon = icons.first;