IDEA-79907 Balloons and tool window notifications appear and disappear immediately...
authorpeter <peter@jetbrains.com>
Fri, 13 Jan 2012 17:41:22 +0000 (18:41 +0100)
committerpeter <peter@jetbrains.com>
Fri, 13 Jan 2012 17:41:22 +0000 (18:41 +0100)
platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java

index 9e7841e2196082f4d06f5fab4750ec803c042342..1ff82647280147fcc382360bcd670809f4c17a46 100644 (file)
@@ -246,7 +246,7 @@ public class NotificationsManagerImpl extends NotificationsManager implements No
       final ProjectManager projectManager = ProjectManager.getInstance();
       boolean noProjects = projectManager.getOpenProjects().length == 0;
       boolean sticky = NotificationDisplayType.STICKY_BALLOON == displayType || noProjects;
-      final Balloon balloon = createBalloon(notification, false, !sticky, !sticky);
+      final Balloon balloon = createBalloon(notification, false, false, !sticky);
       Disposer.register(project != null ? project : ApplicationManager.getApplication(), balloon);
       ((IdeFrameImpl)window).getBalloonLayout().add(balloon);
       if (noProjects && NotificationDisplayType.BALLOON == displayType) {