From 87d8138aa850d2f5f7386f1bde31d890de7a8f33 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 14 Aug 2001 16:55:26 +0000 Subject: [PATCH] Fixed child attaching to the family svn: r336 --- src/gramps_main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gramps_main.py b/src/gramps_main.py index 16da63f98..a81608828 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -1081,6 +1081,7 @@ def change_family_type(family,mrel,frel): fam.removeChild(active_person) return elif family == active_person.getMainFamily(): + family.addChild(active_person) if not is_main: utils.modified() active_person.setMainFamily(None) @@ -1094,6 +1095,7 @@ def change_family_type(family,mrel,frel): else: active_person.addAltFamily(family,mrel,frel) else: + family.addChild(active_person) for fam in active_person.getAltFamilyList(): if family == fam[0]: if is_main: