4363: missing tag references on XML import

svn: r16350
This commit is contained in:
Jérôme Rapinat 2011-01-07 17:54:55 +00:00
parent 718d698f63
commit 0809ec6723

View File

@ -1416,6 +1416,15 @@ class GrampsParser(UpdateCallback):
if self.person: if self.person:
self.person.add_tag(handle) self.person.add_tag(handle)
if self.family:
self.family.add_tag(handle)
if self.object:
self.object.add_tag(handle)
if self.note:
self.note.add_tag(handle)
def start_range(self, attrs): def start_range(self, attrs):
self.note_tags[-1].ranges.append((int(attrs['start']), self.note_tags[-1].ranges.append((int(attrs['start']),
int(attrs['end']))) int(attrs['end'])))