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 be9bcdef56a7..8a8d13744ea3 100644 --- a/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java +++ b/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java @@ -197,6 +197,11 @@ public class NotificationsManagerImpl extends NotificationsManager { } }; assert toolWindowId != null; + assert notification.getActions().isEmpty() : "Actions are not shown for toolwindow notifications. " + + "Toolwindow id " + toolWindowId + + ", group id \'" + notification.getGroupId() + "\"" + + ", title \'" + notification.getTitle() + "\"" + + ", content \'" + notification.getContent() + "\""; String msg = notification.getTitle(); if (StringUtil.isNotEmpty(notification.getContent())) { if (StringUtil.isNotEmpty(msg)) {