* src/EditPerson.py (draw_lds): Don't include main family twice.
svn: r3047
This commit is contained in:
parent
f824892648
commit
748ae7fcc1
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user