Skip to content

Commit dfe1b0c

Browse files
authored
Update latex citations status in JavaFx thread (#11302)
* Update status in JavaFx thread * Update LatexCitationsTabViewModel.java
1 parent b12f65c commit dfe1b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jabref/gui/entryeditor/LatexCitationsTabViewModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private FileAlterationListener getListener() {
9292
@Override
9393
public void onStart(FileAlterationObserver observer) {
9494
if (!updateStatusOnCreate.get()) {
95-
status.set(Status.IN_PROGRESS);
95+
DefaultTaskExecutor.runInJavaFXThread(() -> status.set(Status.IN_PROGRESS));
9696
}
9797
}
9898

0 commit comments

Comments
 (0)