* src/RelLib/_Person.py: setting the death index wrongly.
2007-10-29 Gary Burton <gary.burton@zen.co.uk> svn: r9276
This commit is contained in:
parent
86a5f53dd5
commit
51159df14e
@ -1,3 +1,6 @@
|
|||||||
|
2007-10-29 Gary Burton <gary.burton@zen.co.uk>
|
||||||
|
* src/RelLib/_Person.py: setting the death index wrongly.
|
||||||
|
|
||||||
2007-10-29 Gary Burton <gary.burton@zen.co.uk>
|
2007-10-29 Gary Burton <gary.burton@zen.co.uk>
|
||||||
* src/RelLib/_Person.py: reset birth and death indexes after deleting
|
* src/RelLib/_Person.py: reset birth and death indexes after deleting
|
||||||
an event. Fixes #1327
|
an event. Fixes #1327
|
||||||
|
@ -245,7 +245,7 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
|
|||||||
if (self.birth_ref_index != -1):
|
if (self.birth_ref_index != -1):
|
||||||
self.set_birth_ref(birth_ref)
|
self.set_birth_ref(birth_ref)
|
||||||
if (self.death_ref_index != -1):
|
if (self.death_ref_index != -1):
|
||||||
self.set_death_ref(birth_ref)
|
self.set_death_ref(death_ref)
|
||||||
elif classname == 'Person':
|
elif classname == 'Person':
|
||||||
new_list = [ref for ref in self.person_ref_list
|
new_list = [ref for ref in self.person_ref_list
|
||||||
if ref.ref not in handle_list]
|
if ref.ref not in handle_list]
|
||||||
|
Loading…
Reference in New Issue
Block a user