Skip to content

Commit

Permalink
Fix JabRef#3607 autolink cleanup
Browse files Browse the repository at this point in the history
- remove duplicates of empty rows missed in 50e98a7
  • Loading branch information
osclind committed Mar 3, 2021
1 parent 50e98a7 commit cbdcbc7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -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());
Expand Down

0 comments on commit cbdcbc7

Please sign in to comment.