mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Error on toolwindow notification with actions: they won't be shown.
Related: WI-39043 "No authentication data provided. Set it up here" link missing
This commit is contained in:
+5
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user