Skip to content

Commit

Permalink
Set 'Update refused' dialog title (#9143)
Browse files Browse the repository at this point in the history
  • Loading branch information
HoussemNasri authored Sep 7, 2022
1 parent 2ff79ee commit 6acafc9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<BibEntry> mergedEntry = dialogService.showCustomDialogAndWait(dialog).map(EntriesMergeResult::mergedEntry);

mergedEntry.ifPresent(mergedBibEntry -> {
Expand Down

0 comments on commit 6acafc9

Please sign in to comment.