fixes error found on: http://www.gramps-project.org/bugs/view.php?id=4603#c18674
basically the children of a spouse of a spouse are not direct descendants. do not bold them. svn: r17062
This commit is contained in:
parent
bbeb292558
commit
6bfd32d306
@ -505,6 +505,10 @@ class RecurseDown:
|
||||
spouse = None
|
||||
first = 1
|
||||
|
||||
if s_level == 1:
|
||||
tmp_bold = self.bold_now
|
||||
self.bold_now = 0
|
||||
|
||||
for family_handle in family_handles:
|
||||
if family_handle not in self.famalies_seen:
|
||||
self.famalies_seen.add(family_handle)
|
||||
@ -550,6 +554,9 @@ class RecurseDown:
|
||||
#spouse_handle = ReportUtils.find_spouse(person,family)
|
||||
self.recurse(spouse_handle, x_level, s_level+1, spouse)
|
||||
|
||||
if s_level == 1:
|
||||
self.bold_now = tmp_bold
|
||||
|
||||
def add_family(self, level, family, father2):
|
||||
"""
|
||||
Adds a family into the canvas.
|
||||
|
Loading…
Reference in New Issue
Block a user