Skip to content

Commit

Permalink
Added line in setFocusToField() to force opening every tab before sel…
Browse files Browse the repository at this point in the history
…ecting one
  • Loading branch information
mulla028 committed Nov 29, 2024
1 parent d8c4aec commit 9e4390c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/jabref/gui/entryeditor/EntryEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ public void setFocusToField(Field field) {
Field actualField = field;
boolean fieldFound = false;
for (Tab tab : tabbed.getTabs()) {
tabbed.getSelectionModel().select(tab);
if ((tab instanceof FieldsEditorTab fieldsEditorTab)
&& fieldsEditorTab.getShownFields().contains(actualField)) {
tabbed.getSelectionModel().select(tab);
Expand Down

0 comments on commit 9e4390c

Please sign in to comment.