From 0d99f3e5e4a435c14f6f43f24f629b87f009d8fe Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Wed, 16 Feb 2011 18:59:17 +0000 Subject: [PATCH] 4651: XML import of name with only display or sort format set fails svn: r16634 --- src/plugins/import/ImportXml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/import/ImportXml.py b/src/plugins/import/ImportXml.py index c0cc8c7df..ec1fce19f 100644 --- a/src/plugins/import/ImportXml.py +++ b/src/plugins/import/ImportXml.py @@ -1328,7 +1328,7 @@ class GrampsParser(UpdateCallback): # check if these pointers need to be remapped # and set the name attributes 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: self.name_display_as = display_as except KeyError: