From dcd089b8820bec4642eb9dd8cfd76904f34074b4 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Sun, 4 Feb 2018 16:34:42 +0100 Subject: [PATCH] Fix some FX Thread issue --- src/main/java/org/jabref/gui/BasePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/gui/BasePanel.java b/src/main/java/org/jabref/gui/BasePanel.java index 4fbd1b47e94..dc098bb6d13 100644 --- a/src/main/java/org/jabref/gui/BasePanel.java +++ b/src/main/java/org/jabref/gui/BasePanel.java @@ -1510,7 +1510,7 @@ public void showAndEdit(BibEntry entry) { entryEditor.setEntry(entry); newEntryShowing(entry); } - entryEditor.requestFocus(); + DefaultTaskExecutor.runInJavaFXThread(() -> entryEditor.requestFocus()); adjustSplitter(); }