* src/EditPerson.py: properly handled added name types for the
preferred name svn: r5441
This commit is contained in:
parent
ea9e35399a
commit
516f12b46e
@ -1,3 +1,7 @@
|
||||
2005-11-26 Don Allingham <don@gramps-project.org>
|
||||
* src/EditPerson.py: properly handled added name types for the
|
||||
preferred name
|
||||
|
||||
2005-11-25 Wayne Bergeron <wb@vallnet.com>
|
||||
* src/GenericFilter.py
|
||||
(IsLessThanNthGenerationAncestorOfDefaultPerson): Add new filter rule.
|
||||
|
@ -1726,8 +1726,9 @@ class EditPerson:
|
||||
if prefix != name.get_surname_prefix():
|
||||
name.set_surname_prefix(prefix)
|
||||
|
||||
if const.NameTypesMap.has_value(ntype):
|
||||
ntype = const.NameTypesMap.find_key(ntype)
|
||||
if ntype:
|
||||
if const.NameTypesMap.has_value(ntype):
|
||||
ntype = const.NameTypesMap.find_key(ntype)
|
||||
else:
|
||||
ntype = "Birth Name"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user