diff --git a/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java b/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java index 0d5fbb768b2..22d27875573 100644 --- a/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java +++ b/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java @@ -150,7 +150,6 @@ private static Node createFileDisplay(LinkedFileViewModel linkedFile) { progressIndicator.progressProperty().bind(linkedFile.downloadProgressProperty()); progressIndicator.visibleProperty().bind(linkedFile.downloadOngoingProperty()); - Text auto = new Text(); auto.visibleProperty().bind(linkedFile.isAutomaticallyFoundProperty()); auto.managedProperty().bind(linkedFile.isAutomaticallyFoundProperty()); @@ -161,7 +160,6 @@ private static Node createFileDisplay(LinkedFileViewModel linkedFile) { info.setStyle("-fx-padding: 0.5em 0 0.5em 0;"); // To align with buttons below which also have 0.5em padding info.getChildren().setAll(icon, auto, link, desc, progressIndicator); - Button acceptAutoLinkedFile = IconTheme.JabRefIcons.AUTO_LINKED_FILE.asButton(); acceptAutoLinkedFile.setTooltip(new Tooltip(Localization.lang("This file was found automatically. Do you want to link it to this entry?"))); acceptAutoLinkedFile.visibleProperty().bind(linkedFile.isAutomaticallyFoundProperty());