select parents from relationship view

svn: r6284
This commit is contained in:
Don Allingham 2006-04-07 02:57:05 +00:00
parent eb66ad70ee
commit ed9228aa8d

View File

@ -694,6 +694,7 @@ class FamilyView(PageView.PersonNavView):
dialog = SelectFamily(self.dbstate.db, _('Select Family'))
family = dialog.run()
if family:
person = self.dbstate.db.get_person_from_handle(self.dbstate.active.handle)
family.add_child_handle(person.handle)