no message

svn: r420
This commit is contained in:
Don Allingham 2001-09-21 22:56:34 +00:00
parent cf10a2c487
commit 60a3274a3a
2 changed files with 7 additions and 1 deletions

View File

@ -1120,6 +1120,9 @@ def save_person(obj):
if idval != person.getId():
m = epo.db.getPersonMap()
if not m.has_key(idval):
if m.has_key(person.getId()):
del m[person.getId()]
m[idval] = person
person.setId(idval)
else:
n = Config.nameof(m[idval])

View File

@ -2064,7 +2064,10 @@ def on_spouselist_changed(obj):
#
#-------------------------------------------------------------------------
def new_after_edit(epo):
database.addPerson(epo.person)
if epo.person.getId() == "":
database.addPerson(epo.person)
else:
database.addPersonNoMap(epo.person,epo.person.getId())
change_active_person(epo.person)
redisplay_person_list(epo.person)