diff --git a/src/plugins/lib/libgedcom.py b/src/plugins/lib/libgedcom.py index c79e692a6..cb544a8e9 100644 --- a/src/plugins/lib/libgedcom.py +++ b/src/plugins/lib/libgedcom.py @@ -6286,7 +6286,7 @@ class GedcomParser(UpdateCallback): """ Add the default source to the object. """ - if self.use_def_src and len(obj.get_source_references()) == 0: + if self.use_def_src and len(obj.get_citation_list()) == 0: citation = gen.lib.Citation() citation.set_reference_handle(self.def_src.handle) self.dbase.add_citation(citation, self.trans)