From 52f21af495a081496703f51e65eae63858f1cdab Mon Sep 17 00:00:00 2001 From: Mootez Date: Sat, 25 Apr 2020 13:10:10 +0100 Subject: [PATCH 1/2] Fix Export to clipboard Dialog icon --- src/main/java/org/jabref/gui/JabRefDialogService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/jabref/gui/JabRefDialogService.java b/src/main/java/org/jabref/gui/JabRefDialogService.java index aa538ebb722..e0178808ce2 100644 --- a/src/main/java/org/jabref/gui/JabRefDialogService.java +++ b/src/main/java/org/jabref/gui/JabRefDialogService.java @@ -120,6 +120,7 @@ public static String shortenDialogMessage(String dialogMessage) { @Override public Optional showChoiceDialogAndWait(String title, String content, String okButtonLabel, T defaultChoice, Collection choices) { ChoiceDialog choiceDialog = new ChoiceDialog<>(defaultChoice, choices); + ((Stage) choiceDialog.getDialogPane().getScene().getWindow()).getIcons().add(IconTheme.getJabRefImageFX()); ButtonType okButtonType = new ButtonType(okButtonLabel, ButtonBar.ButtonData.OK_DONE); choiceDialog.getDialogPane().getButtonTypes().setAll(ButtonType.CANCEL, okButtonType); choiceDialog.setHeaderText(title); From e0e17e021b1b9fafbd70f602f65692c695afef23 Mon Sep 17 00:00:00 2001 From: MootezSaaD <34676841+MootezSaaD@users.noreply.github.com> Date: Sat, 25 Apr 2020 17:36:39 +0200 Subject: [PATCH 2/2] Add entry to CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfd09f6aaa0..c7cb636a7fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We fixed an issue where reordering the groups was not possible after inserting an article. [#6008](https://github.com/JabRef/jabref/issues/6008) - We fixed an issue where citation styles except the default "Preview" could not be used. [#56220](https://github.com/JabRef/jabref/issues/5622) - We fixed an issue where an exception was thrown when adding a save action without a selected formatter in the library properties [#6069](https://github.com/JabRef/jabref/issues/6069) +- We fixed an issue where JabRef's icon was missing in the Export to clipboard Dialog. [#6286](https://github.com/JabRef/jabref/issues/6286) ### Removed