diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 4d5dd40ea..a9092b841 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2003-06-13 Alex Roitman + * src/EditPerson.py (did_data_change): When checking name type, + compare translated strings (otherwise they always differ). + 2003-06-13 Don Allingham * src/EditPerson.py: Removed the conflict of using pmap for two seperate purposes - mapping places to iterators and places to keys. The place to diff --git a/gramps2/src/EditPerson.py b/gramps2/src/EditPerson.py index d000f234b..9374ac338 100644 --- a/gramps2/src/EditPerson.py +++ b/gramps2/src/EditPerson.py @@ -930,7 +930,7 @@ class EditPerson: else: if surname.upper() != name.getSurname().upper(): changed = 1 - if ntype != name.getType(): + if ntype != const.InverseNameTypesMap[name.getType()]: changed = 1 if given != name.getFirstName(): changed = 1