diff --git a/src/main/java/org/jabref/gui/JabRefDialogService.java b/src/main/java/org/jabref/gui/JabRefDialogService.java index e5cb6e486fc..3f50cfd8616 100644 --- a/src/main/java/org/jabref/gui/JabRefDialogService.java +++ b/src/main/java/org/jabref/gui/JabRefDialogService.java @@ -35,6 +35,7 @@ import javafx.stage.Window; import javafx.util.Duration; +import org.jabref.gui.help.ErrorConsoleAction; import org.jabref.gui.icon.IconTheme; import org.jabref.gui.theme.ThemeManager; import org.jabref.gui.util.BackgroundTask; @@ -343,9 +344,14 @@ public void notify(String message) { .threshold(5, Notifications.create() .title(Localization.lang("Last notification")) + // TODO: Change to a notification overview instead of event log when that is available. The event log is not that user friendly (different purpose). .text( "(" + Localization.lang("Check the event log to see all notifications") + ")" - + "\n\n" + message)) + + "\n\n" + message) + .onAction((e)-> { + ErrorConsoleAction ec = new ErrorConsoleAction(); + ec.execute(); + })) .hideCloseButton() .show(); });