no message
svn: r420
This commit is contained in:
parent
35ff79bafa
commit
3bbcaa3418
@ -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])
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user