* src/GrampsCfg.py: Fixed name format selection problem
svn: r2332
This commit is contained in:
parent
6d7f263d52
commit
6881becfa9
@ -317,12 +317,12 @@ def loadConfig(call):
|
|||||||
|
|
||||||
nameof = _name_format_list[_name_format][1]
|
nameof = _name_format_list[_name_format][1]
|
||||||
|
|
||||||
if _name_format%2:
|
if _name_format > 1:
|
||||||
display_name = Utils.phonebook_name
|
|
||||||
display_surname = lambda x : x.getSurname()
|
|
||||||
else:
|
|
||||||
display_name = Utils.phonebook_upper_name
|
display_name = Utils.phonebook_upper_name
|
||||||
display_surname = lambda x : x.getUpperSurname()
|
display_surname = lambda x : x.getUpperSurname()
|
||||||
|
else:
|
||||||
|
display_name = Utils.phonebook_name
|
||||||
|
display_surname = lambda x : x.getSurname()
|
||||||
|
|
||||||
make_path(os.path.expanduser("~/.gramps"))
|
make_path(os.path.expanduser("~/.gramps"))
|
||||||
make_path(os.path.expanduser("~/.gramps/filters"))
|
make_path(os.path.expanduser("~/.gramps/filters"))
|
||||||
|
Loading…
Reference in New Issue
Block a user