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: