From fd9a52ce2716bfc16f01b9e74c591d2d1bd53180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Lange?= Date: Mon, 26 Sep 2016 11:40:54 +0200 Subject: [PATCH] Undo Unnecessary other field tab Fixes regression from #2002 --- CHANGELOG.md | 1 - src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java | 2 -- 2 files changed, 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2b009825fba..c96981eb2690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,7 +75,6 @@ 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) - Fixed [#2060](https://github.com/JabRef/jabref/issues/2060): Medline fetcher now imports data in UTF-8 encoding ### Removed diff --git a/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java b/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java index e9f2f41179f7..60d24ddd85ce 100644 --- a/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java +++ b/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java @@ -239,8 +239,6 @@ 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());