From 0557c678a657e6315dcb2c2c1c98d90b45a76e08 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Tue, 12 May 2020 09:41:04 +0200 Subject: [PATCH] Well, I said hopefully ;-) --- src/main/java/org/jabref/gui/util/BackgroundTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/gui/util/BackgroundTask.java b/src/main/java/org/jabref/gui/util/BackgroundTask.java index a6db2797cf1..7dac72734ea 100644 --- a/src/main/java/org/jabref/gui/util/BackgroundTask.java +++ b/src/main/java/org/jabref/gui/util/BackgroundTask.java @@ -258,7 +258,7 @@ public BackgroundTask withInitialMessage(String message) { } public static Node getIcon(Task task) { - return BackgroundTask.iconMap.getOrDefault(task).getTitle(), null); + return BackgroundTask.iconMap.getOrDefault((task).getTitle(), null); } static class BackgroundProgress {