6215: Descendant Fanchart error on duplicate children
svn: r20792
This commit is contained in:
parent
ef023ffdb3
commit
f39e82c9b3
@ -348,8 +348,12 @@ class FanChartDescWidget(FanChartBaseWidget):
|
|||||||
for data in self.gen2people[gen]:
|
for data in self.gen2people[gen]:
|
||||||
#obtain start and stop of family this is child of
|
#obtain start and stop of family this is child of
|
||||||
parentfamdata = self.gen2fam[gen-1][data[5]]
|
parentfamdata = self.gen2fam[gen-1][data[5]]
|
||||||
nrdescfam = self.famhandle2desc[parentfamdata[0].handle]
|
nrdescfam = 0
|
||||||
nrdesc = self.handle2desc[data[0].handle]
|
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]
|
famstart = parentfamdata[2]
|
||||||
famslice = parentfamdata[3]
|
famslice = parentfamdata[3]
|
||||||
nrchild = parentfamdata[6]
|
nrchild = parentfamdata[6]
|
||||||
|
Loading…
Reference in New Issue
Block a user