Fix GEDCOM import for bad source title when sources precede references.
Fixes #11610
This commit is contained in:
parent
924d82a7c4
commit
a2c6641774
@ -7776,6 +7776,7 @@ class GedcomParser(UpdateCallback):
|
||||
# have got deleted by Chack and repair because the record is empty.
|
||||
# If we find the source record, the title is overwritten in
|
||||
# __source_title.
|
||||
if not src.title:
|
||||
src.set_title(line.data)
|
||||
self.dbase.commit_source(src, self.trans)
|
||||
self.__parse_source_reference(citation, level, src.handle, state)
|
||||
|
Loading…
Reference in New Issue
Block a user