From 3c02ff6cd0440aa37a0caef73b2b525cde8938fd Mon Sep 17 00:00:00 2001 From: Grzegorz Date: Tue, 9 Jun 2020 14:47:50 +0200 Subject: [PATCH] Fixed an issue where entry preview tab has no name in drop down list. (#6591) --- CHANGELOG.md | 1 + src/main/java/org/jabref/gui/entryeditor/PreviewTab.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 893e7f612f0..e0939437856 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve ### Fixed +- We fixed an issue where entry preview tab has no name in drop down list. [#6591](https://github.com/JabRef/jabref/issues/6591) - We fixed to only search file links in the BIB file location directory when preferences has corresponding checkbox checked. [#5891](https://github.com/JabRef/jabref/issues/5891) - We fixed wrong button order (Apply and Cancel) in ManageProtectedTermsDialog. - We fixed an issue with incompatible characters at BibTeX key [#6257](https://github.com/JabRef/jabref/issues/6257) diff --git a/src/main/java/org/jabref/gui/entryeditor/PreviewTab.java b/src/main/java/org/jabref/gui/entryeditor/PreviewTab.java index 35d3a197501..44c2d593884 100644 --- a/src/main/java/org/jabref/gui/entryeditor/PreviewTab.java +++ b/src/main/java/org/jabref/gui/entryeditor/PreviewTab.java @@ -4,6 +4,7 @@ import org.jabref.gui.externalfiletype.ExternalFileTypes; import org.jabref.gui.icon.IconTheme; import org.jabref.gui.preview.PreviewPanel; +import org.jabref.logic.l10n.Localization; import org.jabref.model.database.BibDatabaseContext; import org.jabref.model.entry.BibEntry; import org.jabref.preferences.JabRefPreferences; @@ -22,6 +23,7 @@ public PreviewTab(BibDatabaseContext databaseContext, DialogService dialogServic this.externalFileTypes = externalFileTypes; setGraphic(IconTheme.JabRefIcons.TOGGLE_ENTRY_PREVIEW.getGraphicNode()); + setText(Localization.lang("Preview")); } @Override