Skip to content

Commit

Permalink
Fix not on FX thread exception for DOI(arxiv lookup (#11865)
Browse files Browse the repository at this point in the history
Fixes #11850
  • Loading branch information
Siedlerchr authored Sep 30, 2024
1 parent b5c967c commit 237c36b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We fixed an issue where HTML instead of the fulltext pdf was downloaded when importing arXiv entries. [#4913](https://github.com/JabRef/jabref/issues/4913)
- We fixed an issue where the keywords and crossref fields were not properly focused. [#11177](https://github.com/JabRef/jabref/issues/11177)
- We fixed an issue where recently opened files were not displayed in the main menu properly. [#9042](https://github.com/JabRef/jabref/issues/9042)
- We fixed an issue where the DOI lookup would show an error when a DOI was found for an entry. [#11850](https://github.com/JabRef/jabref/issues/11850)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private String lookupIdentifiers(List<BibEntry> bibEntries) {
}
namedCompound.end();
if (foundCount > 0) {
undoManager.addEdit(namedCompound);
UiTaskExecutor.runInJavaFXThread(() -> undoManager.addEdit(namedCompound));
}
return Localization.lang("Determined %0 for %1 entries", fetcher.getIdentifierName(), Integer.toString(foundCount));
}
Expand Down

0 comments on commit 237c36b

Please sign in to comment.