From 059f431d6fa8bf8bd14d4c4ab474137122ab7543 Mon Sep 17 00:00:00 2001 From: Eric Lau Date: Thu, 8 Oct 2020 23:35:38 -0400 Subject: [PATCH 1/2] 6848 fixed the issue of clicking collapse all expanding tree --- CHANGELOG.md | 1 + .../org/jabref/gui/externalfiles/FindUnlinkedFilesDialog.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a1922cfff3..19a5d39b118 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We fixed an issue where it was impossible to connect to OpenOffice/LibreOffice on Mac OSX. [#6970](https://github.com/JabRef/jabref/pull/6970) - We fixed an issue with the python script used by browser plugins that failed to locate JabRef if not installed in its default location. [#6963](https://github.com/JabRef/jabref/pull/6963/files) - We fixed an issue where identity column header had incorrect foreground color in the Dark theme. [#6796](https://github.com/JabRef/jabref/issues/6796) +- We fixed an issue where clicking on Collapse All button in the Search for Unlinked Local Files expanded the directory structure erroneously [#6848](https://github.com/JabRef/jabref/issues/6848) ### Removed diff --git a/src/main/java/org/jabref/gui/externalfiles/FindUnlinkedFilesDialog.java b/src/main/java/org/jabref/gui/externalfiles/FindUnlinkedFilesDialog.java index cbef3f235f6..66c97e29ef1 100644 --- a/src/main/java/org/jabref/gui/externalfiles/FindUnlinkedFilesDialog.java +++ b/src/main/java/org/jabref/gui/externalfiles/FindUnlinkedFilesDialog.java @@ -165,7 +165,7 @@ private void initialize() { buttonOptionCollapseAll.setOnAction(event -> { CheckBoxTreeItem root = (CheckBoxTreeItem) tree.getRoot(); expandTree(root, false); - root.setExpanded(true); + root.setExpanded(false); }); textfieldDirectoryPath = new TextField(); From 4bdf326e115cccb3fb61c392f8ea132c0bcd35ca Mon Sep 17 00:00:00 2001 From: Eric Lau <919023+skeric@users.noreply.github.com> Date: Mon, 12 Oct 2020 15:00:46 -0400 Subject: [PATCH 2/2] Added author name --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 3cfdae2c1ff..22045b755e7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -113,6 +113,7 @@ Eiswindyeti Ellen Reitmayr Erdem Derebasoglu Erdem Derebaşoğlu +Eric Lau Erik Putrycz Ervin Kolenovic Escoul