diff --git a/platform/platform-api/src/com/intellij/notification/Notifications.java b/platform/platform-api/src/com/intellij/notification/Notifications.java index 7e6946bf8615..cbba370a5077 100644 --- a/platform/platform-api/src/com/intellij/notification/Notifications.java +++ b/platform/platform-api/src/com/intellij/notification/Notifications.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,7 +79,7 @@ public interface Notifications { } private static void doNotify(Notification notification, @Nullable Project project) { - if (project != null && !project.isDisposed()) { + if (project != null && !project.isDisposed() && !project.isDefault()) { project.getMessageBus().syncPublisher(TOPIC).notify(notification); } else {