From 319db30436984f833352999880d646ca0e55355d Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 29 Aug 2011 19:06:20 +0000 Subject: [PATCH] 5151: Latin American surname guessing fails svn: r18083 --- src/gui/editors/editfamily.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/editors/editfamily.py b/src/gui/editors/editfamily.py index 1b7f4f904..4334b7fd2 100644 --- a/src/gui/editors/editfamily.py +++ b/src/gui/editors/editfamily.py @@ -391,8 +391,9 @@ class ChildEmbedList(EmbeddedList): mothername = gen.lib.Name() preset_name(mother, mothername) preset_name(father, name) - name.set_surname_list(name.get_surname_list[:1].append( - mothername.get_surname_list[:1])) + mothersurname = mothername.get_surname_list()[0] + mothersurname.set_primary(False) + name.set_surname_list([name.get_surname_list()[0], mothersurname]) return name else: return name