Debug
svn: r862
This commit is contained in:
parent
4c0d544e4f
commit
579aa3e6e1
@ -85,7 +85,7 @@ class AddSpouse:
|
|||||||
|
|
||||||
self.name_list = self.db.getPersonMap().values()
|
self.name_list = self.db.getPersonMap().values()
|
||||||
self.name_list.sort(sort.by_last_name)
|
self.name_list.sort(sort.by_last_name)
|
||||||
|
self.rel_combo.set_popdown_strings(const.familyRelations)
|
||||||
title = _("Choose Spouse/Partner of %s") % GrampsCfg.nameof(person)
|
title = _("Choose Spouse/Partner of %s") % GrampsCfg.nameof(person)
|
||||||
self.glade.get_widget("spouseTitle").set_text(title)
|
self.glade.get_widget("spouseTitle").set_text(title)
|
||||||
|
|
||||||
|
@ -1100,6 +1100,7 @@ class Person:
|
|||||||
def setMainParents(self,family):
|
def setMainParents(self,family):
|
||||||
"""sets the main Family of the Person, the Family in which the
|
"""sets the main Family of the Person, the Family in which the
|
||||||
Person is a natural born child"""
|
Person is a natural born child"""
|
||||||
|
print family,self.AltFamilyList
|
||||||
assert(family in self.AltFamilyList)
|
assert(family in self.AltFamilyList)
|
||||||
f = self.removeAltFamily(family)
|
f = self.removeAltFamily(family)
|
||||||
if f:
|
if f:
|
||||||
|
Loading…
Reference in New Issue
Block a user