* src/EditPerson.py (did_data_change): When checking name type,

compare translated strings (otherwise they always differ).


svn: r1734
This commit is contained in:
Alex Roitman
2003-06-14 04:57:20 +00:00
parent c0d1a6d133
commit 6143678cfe
2 changed files with 5 additions and 1 deletions

View File

@@ -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