Skip to content

Commit

Permalink
Unnecessary other field tab (JabRef#2002)
Browse files Browse the repository at this point in the history
* Optional fields list filled

* CHANGELOG.md
  • Loading branch information
Jürgen Lange authored and Siedlerchr committed Sep 19, 2016
1 parent 05bd4f7 commit d40f9f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- Fixed loop when pulling changes (shared database) when current selected field has changed
- Fixed [#1958](https://github.com/JabRef/jabref/issues/1958): Verbatim fields are no longer checked for HTML encoded characters by integrity checks
- Fixed [#1937](https://github.com/JabRef/jabref/issues/1937): If no help page for the current chosen language exists, the english help page will be shown
- Fixed [#1996](https://github.com/JabRef/jabref/issues/1996): Unnecessary other fields tab in entry editor removed (BibTeX mode)

### Removed
- The non-supported feature of being able to define file directories for any extension is removed. Still, it should work for older databases using the legacy `ps` and `pdf` fields, although we strongly encourage using the `file` field.
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ private void setupFieldPanels() {

if ((type.getOptionalFields() != null) && !type.getOptionalFields().isEmpty()) {
if (!frame.getCurrentBasePanel().getBibDatabaseContext().isBiblatexMode()) {
displayedOptionalFields.addAll(type.getOptionalFields());

addOptionalTab(type);
} else {
displayedOptionalFields.addAll(type.getPrimaryOptionalFields());
Expand Down

0 comments on commit d40f9f4

Please sign in to comment.