Don't display new alternate names after an edit if hide_altnames is true.
svn: r352
This commit is contained in:
parent
1877d412b7
commit
c021a2bc78
@ -2008,17 +2008,18 @@ def redisplay_person_list(person):
|
||||
|
||||
person_list.set_row_data(0,pos)
|
||||
|
||||
for name in person.getAlternateNames():
|
||||
pos2 = (person,1)
|
||||
alt2col[person].append(pos2)
|
||||
person_list.insert(0,[gname(name,1),person.getId(),
|
||||
gender,bday.getQuoteDate(),
|
||||
dday.getQuoteDate(),
|
||||
sort.build_sort_name(name),
|
||||
sort.build_sort_birth(bday),
|
||||
sort.build_sort_death(dday)])
|
||||
if Config.hide_altnames == 0:
|
||||
for name in person.getAlternateNames():
|
||||
pos2 = (person,1)
|
||||
alt2col[person].append(pos2)
|
||||
person_list.insert(0,[gname(name,1),person.getId(),
|
||||
gender,bday.getQuoteDate(),
|
||||
dday.getQuoteDate(),
|
||||
sort.build_sort_name(name),
|
||||
sort.build_sort_birth(bday),
|
||||
sort.build_sort_death(dday)])
|
||||
|
||||
person_list.set_row_data(0,pos2)
|
||||
person_list.set_row_data(0,pos2)
|
||||
|
||||
sort_person_list()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user