From 84cb7516dbfacf5e47da364512d90f962c9ba70e Mon Sep 17 00:00:00 2001 From: Dennis Ushakov Date: Tue, 30 Jan 2018 23:15:34 +0300 Subject: [PATCH] actions should be available even without group id --- .../notification/impl/actions/NotificationTestAction.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/notification/impl/actions/NotificationTestAction.java b/platform/platform-impl/src/com/intellij/notification/impl/actions/NotificationTestAction.java index f013475507d8..7f67d43c53d7 100644 --- a/platform/platform-impl/src/com/intellij/notification/impl/actions/NotificationTestAction.java +++ b/platform/platform-impl/src/com/intellij/notification/impl/actions/NotificationTestAction.java @@ -196,10 +196,10 @@ public class NotificationTestAction extends AnAction implements DumbAware { } else { myNotification = new Notification(displayId, icon, myTitle, mySubtitle, content, myType, getListener()); - if (myActions != null) { - for (String action : myActions) { - myNotification.addAction(new MyAnAction(action)); - } + } + if (myActions != null) { + for (String action : myActions) { + myNotification.addAction(new MyAnAction(action)); } } }