Skip to content

Commit

Permalink
Update latex citations status in JavaFx thread (JabRef#11302)
Browse files Browse the repository at this point in the history
* Update status in JavaFx thread

* Update LatexCitationsTabViewModel.java
  • Loading branch information
LoayGhreeb authored May 18, 2024
1 parent b12f65c commit dfe1b0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private FileAlterationListener getListener() {
@Override
public void onStart(FileAlterationObserver observer) {
if (!updateStatusOnCreate.get()) {
status.set(Status.IN_PROGRESS);
DefaultTaskExecutor.runInJavaFXThread(() -> status.set(Status.IN_PROGRESS));
}
}

Expand Down

0 comments on commit dfe1b0c

Please sign in to comment.