Skip to content

Commit 00a9593

Browse files
authored
Merge pull request #1915 from Haehnchen/feature/notifaction-expire
close notification
2 parents a3e7bde + c279188 commit 00a9593

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/util/IdeHelper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ public void actionPerformed(@NotNull AnActionEvent e, @NotNull Notification noti
156156
notification2.setTitle(createNotificationTitle(project1));
157157
notification2.setIcon(Symfony2Icons.SYMFONY);
158158
notification2.notify(project1);
159+
160+
notification.expire();
159161
}
160162
});
161163

@@ -164,6 +166,8 @@ public void actionPerformed(@NotNull AnActionEvent e, @NotNull Notification noti
164166
public void actionPerformed(@NotNull AnActionEvent e, @NotNull Notification notification) {
165167
// user doesnt want to show notification again
166168
Settings.getInstance(project).dismissEnableNotification = true;
169+
170+
notification.expire();
167171
}
168172
});
169173

0 commit comments

Comments
 (0)