4651: XML import of name with only display or sort format set fails
svn: r16634
This commit is contained in:
parent
293cc55bd5
commit
0d99f3e5e4
@ -1328,7 +1328,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
# check if these pointers need to be remapped
|
# check if these pointers need to be remapped
|
||||||
# and set the name attributes
|
# and set the name attributes
|
||||||
if display_as in self.name_formats_map:
|
if display_as in self.name_formats_map:
|
||||||
self.name.sort_as = self.name_formats_map[display_as]
|
self.name.display_as = self.name_formats_map[display_as]
|
||||||
else:
|
else:
|
||||||
self.name_display_as = display_as
|
self.name_display_as = display_as
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user