From e7285155992f64f524937691d08f83f14801bff4 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 10 Feb 2012 21:09:08 +0100 Subject: [PATCH] expire sticky balloons when hidden --- .../intellij/notification/impl/NotificationsManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java b/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java index f4475fd7937d..7af1d81950b4 100644 --- a/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java +++ b/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java @@ -154,7 +154,7 @@ public class NotificationsManagerImpl extends NotificationsManager implements No case BALLOON: default: Balloon balloon = notifyByBalloon(notification, type, project); - if (!settings.isShouldLog()) { + if (!settings.isShouldLog() || type == NotificationDisplayType.STICKY_BALLOON) { if (balloon == null) { notification.expire(); } else {