Consolidate all logic for setting up a 'surname' combo box.

svn: r531
This commit is contained in:
David Hampton
2001-11-01 02:33:55 +00:00
parent 26cb4577bd
commit 6e62aed286
8 changed files with 61 additions and 39 deletions

View File

@@ -1965,6 +1965,7 @@ def post_load(name):
lastname = person.getPrimaryName().getSurname()
if lastname and lastname not in const.surnames:
const.surnames.append(lastname)
const.surnames.sort()
statusbar.set_progress(1.0)
full_update()