diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cf3f1612c2..b3ce9322858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `# - We fixed the shortcut Ctrl+F for the search field. - We fixed an issue where the preferences could not be imported without a restart of JabRef [#3064](https://github.com/JabRef/jabref/issues/3064) - We fixed an issue where DEL, Ctrl+C, Ctrl+V and Ctrl+A in the search field triggered corresponding actions in the main table [#3067](https://github.com/JabRef/jabref/issues/3067) - +- We fixed an issue where JabRef freezed when editing an assigned file in the `General`-Tab [#2930, comment](https://github.com/JabRef/jabref/issues/2930#issuecomment-311050976) ### Removed diff --git a/src/main/java/org/jabref/gui/fieldeditors/LinkedFileViewModel.java b/src/main/java/org/jabref/gui/fieldeditors/LinkedFileViewModel.java index ddd3601f16a..a60bd457398 100644 --- a/src/main/java/org/jabref/gui/fieldeditors/LinkedFileViewModel.java +++ b/src/main/java/org/jabref/gui/fieldeditors/LinkedFileViewModel.java @@ -7,6 +7,8 @@ import java.util.List; import java.util.Optional; +import javax.swing.SwingUtilities; + import javafx.beans.Observable; import javafx.beans.property.BooleanProperty; import javafx.beans.property.DoubleProperty; @@ -262,6 +264,7 @@ public boolean delete() { public void edit() { FileListEntryEditor editor = new FileListEntryEditor(linkedFile, false, true, databaseContext); - editor.setVisible(true, false); + SwingUtilities.invokeLater(() -> editor.setVisible(true, false)); + } }