* src/EditPerson.py (draw_lds): Don't include main family twice.

svn: r3047
This commit is contained in:
Alex Roitman 2004-03-22 23:59:37 +00:00
parent f824892648
commit 748ae7fcc1
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2004-03-22 Alex Roitman <shura@alex.neuro.umn.edu>
* src/docgen/LPRDoc.py: Fix colliding name.
* src/PedView.py (on_show_child_menu): Switch to id.
* src/EditPerson.py (draw_lds): Don't include main family twice.
2004-03-21 Don Allingham <dallingham@users.sourceforge.net>
* src/AddMedia.py: GenericTreeModel changes

View File

@ -528,7 +528,8 @@ class EditPerson:
hist = 0
flist = [self.person.get_main_parents_family_id()]
for (fam,mrel,frel) in self.person.get_parent_family_id_list():
flist.append(fam)
if fam not in flist:
flist.append(fam)
for fam_id in flist:
fam = self.db.find_family_from_id(fam_id)
if fam == None: