6215: Descendant Fanchart error on duplicate children
svn: r20792
This commit is contained in:
		| @@ -348,7 +348,11 @@ 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 = 0 | ||||||
|  |                 if not parentfamdata[1]: | ||||||
|                     nrdescfam = self.famhandle2desc[parentfamdata[0].handle] |                     nrdescfam = self.famhandle2desc[parentfamdata[0].handle] | ||||||
|  |                 nrdesc = 0 | ||||||
|  |                 if not data[1]: | ||||||
|                     nrdesc = self.handle2desc[data[0].handle] |                     nrdesc = self.handle2desc[data[0].handle] | ||||||
|                 famstart = parentfamdata[2] |                 famstart = parentfamdata[2] | ||||||
|                 famslice = parentfamdata[3] |                 famslice = parentfamdata[3] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user