From cbdcbc72e9bfa056b863e714ee61a066ae402a0a Mon Sep 17 00:00:00 2001 From: oscar Date: Wed, 3 Mar 2021 11:46:46 +0100 Subject: [PATCH] Fix #3607 autolink cleanup - remove duplicates of empty rows missed in 50e98a7 --- .../java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java | 2 -- 1 file changed, 2 deletions(-) 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());