Skip to content

Commit

Permalink
This sets focus to new library (JabRef#10468)
Browse files Browse the repository at this point in the history
* This sets focus to new library

* Added note #592 to changelog

* Update CHANGELOG.md

Co-authored-by: Christoph <[email protected]>

---------

Co-authored-by: Christoph <[email protected]>
  • Loading branch information
atdushi and Siedlerchr authored Oct 10, 2023
1 parent f35f861 commit 3e4fcc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We fixed an issue where it was not possible to save a library on a network share under macOS due to an exception when acquiring a file lock [#10452](https://github.com/JabRef/jabref/issues/10452)
- We fixed an issue where exporting "XMP annotated pdf" without selecting an existing document would produce an exception. [#10102](https://github.com/JabRef/jabref/issues/10102)
- We fixed an issue where the "Enabled" column in the "Protected terms files" tab in the preferences could not be resized [#10285](https://github.com/JabRef/jabref/issues/10285)
- We fixed an issue where after creation of a new library, the new library was not focused. [koppor#592](https://github.com/koppor/jabref/issues/592)


### Removed
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ public void addTab(LibraryTab libraryTab, boolean raisePanel) {
tabbedPane.getTabs().add(libraryTab);
if (raisePanel) {
tabbedPane.getSelectionModel().select(libraryTab);
tabbedPane.requestFocus();
}

libraryTab.setOnCloseRequest(event -> {
Expand Down

0 comments on commit 3e4fcc1

Please sign in to comment.