From 46ece6f627340633004725ea48b7fd2d6e664368 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 13 Jan 2024 14:11:35 +0100 Subject: [PATCH] Fix enablement of Aux dialog's "Generate" button (#10775) * Fix enablement of Aux dialog's "Generate" button * Add link to PR --- CHANGELOG.md | 1 + src/main/java/org/jabref/gui/auximport/FromAuxDialog.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 744c6d801b0..bcbd2265a9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv - The index directories for full text search have now more readable names to increase debugging possibilities using Apache Lucense's Lurk. [#10193](https://github.com/JabRef/jabref/issues/10193) - The fulltext search also indexes files ending with .pdf (but do not having an explicit file type set). [#10193](https://github.com/JabRef/jabref/issues/10193) - We changed the order of the lists in the "Citation relations" tab. `Cites` are now on the left and `Cited by` on the right [#10572](https://github.com/JabRef/jabref/pull/10752) +- Sub libraries based on `aux` file can now also be generated if some citeations are not found library. [#10775](https://github.com/JabRef/jabref/pull/10775) ### Fixed diff --git a/src/main/java/org/jabref/gui/auximport/FromAuxDialog.java b/src/main/java/org/jabref/gui/auximport/FromAuxDialog.java index 02e947dc0f0..7a16c262b71 100644 --- a/src/main/java/org/jabref/gui/auximport/FromAuxDialog.java +++ b/src/main/java/org/jabref/gui/auximport/FromAuxDialog.java @@ -49,7 +49,7 @@ public FromAuxDialog(LibraryTabContainer tabContainer) { .setAsDialogPane(this); Button generateButton = (Button) this.getDialogPane().lookupButton(generateButtonType); - generateButton.disableProperty().bind(viewModel.parseFailedProperty().or(viewModel.notFoundList().emptyProperty().not())); + generateButton.disableProperty().bind(viewModel.parseFailedProperty()); generateButton.defaultButtonProperty().bind(generateButton.disableProperty().not()); setResultConverter(button -> { if (button == generateButtonType) {