From c58ca7575bf6aac590820e355acaba2a051f844c Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Tue, 25 Jan 2011 20:02:28 +0000 Subject: [PATCH] 4473: Prefix lost when using Add new child to family svn: r16473 --- src/plugins/view/relview.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/view/relview.py b/src/plugins/view/relview.py index 293491291..52b34f04a 100644 --- a/src/plugins/view/relview.py +++ b/src/plugins/view/relview.py @@ -1482,6 +1482,8 @@ class RelationshipView(NavigationView): if father: name = father.get_primary_name().get_surname() person.get_primary_name().set_surname(name) + person.get_primary_name().set_surname_prefix( + father.get_primary_name().get_surname_prefix()) try: EditPerson(self.dbstate, self.uistate, [], person, callback=callback)