WelcomeScreen respect "isPopup" for ActionGroups
authorKonstantin Bulenkov <kb@jetbrains.com>
Fri, 24 Oct 2014 15:30:43 +0000 (17:30 +0200)
committerKonstantin Bulenkov <kb@jetbrains.com>
Fri, 24 Oct 2014 16:25:42 +0000 (18:25 +0200)
(cherry picked from commit a60f53b)

platform/platform-impl/src/com/intellij/openapi/wm/impl/welcomeScreen/FlatWelcomeFrame.java

index 076a161d26f0683578b5b731c9a9b79098b89828..5760c32c67b6112e866643cf7b14a8e8a7e9b3b7 100644 (file)
@@ -508,9 +508,15 @@ public class FlatWelcomeFrame extends JFrame implements IdeFrame {
       private final ActionGroup myGroup;
 
       public IconsFreeActionGroup(ActionGroup group) {
+        super(group.getTemplatePresentation().getText(), group.getTemplatePresentation().getDescription(), null);
         myGroup = group;
       }
 
+      @Override
+      public boolean isPopup() {
+        return myGroup.isPopup();
+      }
+
       @NotNull
       @Override
       public AnAction[] getChildren(@Nullable AnActionEvent e) {