From 6acafc959e135519e56eeb71cae956847e52c81a Mon Sep 17 00:00:00 2001 From: Houssem Nasri Date: Wed, 7 Sep 2022 11:26:48 +0100 Subject: [PATCH] Set 'Update refused' dialog title (#9143) --- src/main/java/org/jabref/gui/shared/SharedDatabaseUIManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/jabref/gui/shared/SharedDatabaseUIManager.java b/src/main/java/org/jabref/gui/shared/SharedDatabaseUIManager.java index 6b87d7c620a..0a04e325fe9 100644 --- a/src/main/java/org/jabref/gui/shared/SharedDatabaseUIManager.java +++ b/src/main/java/org/jabref/gui/shared/SharedDatabaseUIManager.java @@ -100,6 +100,7 @@ public void listen(UpdateRefusedEvent updateRefusedEvent) { if (response.isPresent() && response.get().equals(merge)) { MergeEntriesDialog dialog = new MergeEntriesDialog(localBibEntry, sharedBibEntry); + dialog.setTitle(Localization.lang("Update refused")); Optional mergedEntry = dialogService.showCustomDialogAndWait(dialog).map(EntriesMergeResult::mergedEntry); mergedEntry.ifPresent(mergedBibEntry -> {