ExecutableValidator: react only on click in notification

This commit is contained in:
Kirill Likhodedov
2011-10-27 15:09:37 +04:00
parent 8020260429
commit 05497edbcf
@@ -104,7 +104,9 @@ public abstract class ExecutableValidator {
myNotificationGroup.createNotification("", prepareDescription(), NotificationType.ERROR,
new NotificationListener() {
public void hyperlinkUpdate(@NotNull Notification notification, @NotNull HyperlinkEvent event) {
showSettingsAndExpireIfFixed(notification);
if (event.getEventType().equals(HyperlinkEvent.EventType.ACTIVATED)) {
showSettingsAndExpireIfFixed(notification);
}
}
}
).notify(myProject.isDefault() ? null : myProject);