select parents from relationship view
svn: r6284
This commit is contained in:
parent
eb66ad70ee
commit
ed9228aa8d
@ -694,6 +694,7 @@ class FamilyView(PageView.PersonNavView):
|
|||||||
dialog = SelectFamily(self.dbstate.db, _('Select Family'))
|
dialog = SelectFamily(self.dbstate.db, _('Select Family'))
|
||||||
family = dialog.run()
|
family = dialog.run()
|
||||||
|
|
||||||
|
if family:
|
||||||
person = self.dbstate.db.get_person_from_handle(self.dbstate.active.handle)
|
person = self.dbstate.db.get_person_from_handle(self.dbstate.active.handle)
|
||||||
|
|
||||||
family.add_child_handle(person.handle)
|
family.add_child_handle(person.handle)
|
||||||
|
Loading…
Reference in New Issue
Block a user