diff --git a/ChangeLog b/ChangeLog index fc00bd930..48f4eaa00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-10-29 Gary Burton + * src/RelLib/_Person.py: setting the death index wrongly. + 2007-10-29 Gary Burton * src/RelLib/_Person.py: reset birth and death indexes after deleting an event. Fixes #1327 diff --git a/src/RelLib/_Person.py b/src/RelLib/_Person.py index 0c5a0587e..93d04a789 100644 --- a/src/RelLib/_Person.py +++ b/src/RelLib/_Person.py @@ -245,7 +245,7 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase, if (self.birth_ref_index != -1): self.set_birth_ref(birth_ref) if (self.death_ref_index != -1): - self.set_death_ref(birth_ref) + self.set_death_ref(death_ref) elif classname == 'Person': new_list = [ref for ref in self.person_ref_list if ref.ref not in handle_list]