6215: Descendant Fanchart error on duplicate children

svn: r20792
This commit is contained in:
Benny Malengier 2012-12-18 15:01:50 +00:00
parent ef023ffdb3
commit f39e82c9b3

View File

@ -348,7 +348,11 @@ class FanChartDescWidget(FanChartBaseWidget):
for data in self.gen2people[gen]:
#obtain start and stop of family this is child of
parentfamdata = self.gen2fam[gen-1][data[5]]
nrdescfam = 0
if not parentfamdata[1]:
nrdescfam = self.famhandle2desc[parentfamdata[0].handle]
nrdesc = 0
if not data[1]:
nrdesc = self.handle2desc[data[0].handle]
famstart = parentfamdata[2]
famslice = parentfamdata[3]