Small tweak to get ObjectSelector working again.

svn: r6058
This commit is contained in:
Richard Taylor 2006-03-03 20:40:27 +00:00
parent 2d93f05639
commit 3222a6e6a4

View File

@ -430,6 +430,7 @@ class EditFamily(EditPrimary.EditPrimary):
for person_handle in self.obj.get_child_handle_list():
person = self.db.get_person_from_handle(person_handle)
event_ref = person.get_birth_ref()
if event_ref:
event_handle = event_ref.ref
if event_handle:
event = self.db.get_event_from_handle(event_handle)