* src/RelLib/_Family.py (get_sourcref_child_list): The ChildRefs were missing here. This now removes deleted Sources from ChildRefs.

svn: r7656
This commit is contained in:
Martin Hawlisch 2006-11-20 09:50:41 +00:00
parent be05c165ba
commit a4ad96f2c9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-11-20 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/RelLib/_Family.py (get_sourcref_child_list): The ChildRefs were missing
here. This now removes deleted Sources from ChildRefs.
2006-11-19 Don Allingham <don@gramps-project.org>
* src/Utils.py: probably_alive should onlyuse primary events
* src/DbLoader.py: try to catch a None value for default directory

View File

@ -221,7 +221,8 @@ class Family(PrimaryObject,SourceBase,NoteBase,MediaBase,AttributeBase,
@return: Returns the list of child secondary child objects that may refer sources.
@rtype: list
"""
check_list = self.media_list + self.attribute_list + self.lds_ord_list
check_list = self.media_list + self.attribute_list + self.lds_ord_list + \
self.child_ref_list
return check_list
def get_referenced_handles(self):