0.4.1 patches
svn: r334
This commit is contained in:
parent
9f37cec960
commit
f8ebc59218
@ -2,10 +2,12 @@ Version 0.4.1
|
||||
* Tool/Report menus added to top level menu bar
|
||||
* Extract Titles and Nicknames plugin improved to provide more
|
||||
information
|
||||
* Several bug fixes, including the problem of confusing father/
|
||||
* Several bug fixes, including the problem of swapping father/
|
||||
mother relationships in families
|
||||
* Significant improvements in speed for updating displays after
|
||||
adding, editing, or deleting people, and for applying filters.
|
||||
* Added Bruce DeGrasse's Detailed Ancestral Report. This will
|
||||
eventually replace the current Ancestral Report.
|
||||
|
||||
Version 0.4.0
|
||||
* Redesigned Family page. More complex family relationships can be
|
||||
|
@ -775,8 +775,10 @@ def tool_callback(val):
|
||||
#-------------------------------------------------------------------------
|
||||
def full_update():
|
||||
global id2col
|
||||
global alt2col
|
||||
|
||||
id2col = {}
|
||||
alt2col = {}
|
||||
person_list.clear()
|
||||
gtop.get_widget(NOTEBOOK).set_show_tabs(Config.usetabs)
|
||||
clist = gtop.get_widget("child_list")
|
||||
@ -2360,6 +2362,7 @@ def apply_filter():
|
||||
if datacomp(person):
|
||||
|
||||
if id2col.has_key(person):
|
||||
new_alt2col[person] = alt2col[person]
|
||||
continue
|
||||
pos = (person,0)
|
||||
id2col[person] = pos
|
||||
|
@ -136,13 +136,12 @@ class CheckIntegrity:
|
||||
#-------------------------------------------------------------------------
|
||||
def check_parent_relationships(self):
|
||||
|
||||
family_list = self.db.getFamilyMap().values()[:]
|
||||
for family in family_list:
|
||||
for family in self.db.getFamilyMap().values():
|
||||
father = family.getFather()
|
||||
mother = family.getMother()
|
||||
type = family.getRelationship()
|
||||
|
||||
if not father or not mother:
|
||||
if father == None or mother == None:
|
||||
continue
|
||||
if type != "Partners":
|
||||
if father.getGender() == mother.getGender():
|
||||
|
Loading…
Reference in New Issue
Block a user