Skip to content

Commit

Permalink
Change setRetainTasks
Browse files Browse the repository at this point in the history
  • Loading branch information
calixtus committed Sep 23, 2024
1 parent ad12091 commit 88451bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/gui/frame/MainToolBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ hide it and clip it to a square of (width x width) each time width is updated.
indicator.setOnMouseClicked(event -> {
TaskProgressView<Task<?>> taskProgressView = new TaskProgressView<>();
EasyBind.bindContent(taskProgressView.getTasks(), stateManager.getBackgroundTasks());
taskProgressView.setRetainTasks(true);
taskProgressView.setRetainTasks(false);
taskProgressView.setGraphicFactory(task -> ThemeManager.getDownloadIconTitleMap.getOrDefault(task.getTitle(), null));

if (progressViewPopOver == null) {
Expand Down

0 comments on commit 88451bc

Please sign in to comment.