Skip to content

Commit

Permalink
Fix remember last open valid library with empty new one (#9489)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Dec 20, 2022
1 parent 6fa058d commit 5c9df5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
### Fixed

- The tab "deprecated fields" is shown in biblatex-mode only. [#7757](https://github.com/JabRef/jabref/issues/7757)

- We fixed an issue where the last opened libraries were not remembered when a new unsaved libray was open as well [#9190](https://github.com/JabRef/jabref/issues/9190)


### Removed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2563,7 +2563,7 @@ public GuiPreferences getGuiPreferences() {
if (newValue != null) {
put(LAST_FOCUSED, newValue.toAbsolutePath().toString());
} else {
remove(LAST_EDITED);
remove(LAST_FOCUSED);
}
});
guiPreferences.getFileHistory().addListener((InvalidationListener) change -> storeFileHistory(guiPreferences.getFileHistory()));
Expand Down

0 comments on commit 5c9df5a

Please sign in to comment.