Skip to content

Commit

Permalink
Fix NPE in Duplicate Resolver Dialog
Browse files Browse the repository at this point in the history
Fixes #4785
  • Loading branch information
Siedlerchr committed Mar 20, 2019
1 parent 90376f4 commit 8974b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/gui/DuplicateResolverDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public enum DuplicateResolverResult {

public DuplicateResolverDialog(BibEntry one, BibEntry two, DuplicateResolverType type, BibDatabaseContext database) {
this.setTitle(Localization.lang("Possible duplicate entries"));
init(one, two, type);
this.database = database;
init(one, two, type);
}

private void init(BibEntry one, BibEntry two, DuplicateResolverType type) {
Expand Down

0 comments on commit 8974b83

Please sign in to comment.