Looks like this is needed

svn: r13435
This commit is contained in:
Doug Blank 2009-10-28 01:16:21 +00:00
parent 0dc1116fa2
commit d920e3479a

View File

@ -593,11 +593,12 @@ class GuiFamilyOption(gtk.HBox):
family = sel.run() family = sel.run()
self.__update_family(family) self.__update_family(family)
def __update_family(self, family): def __update_family(self, handle):
""" """
Update the currently selected family. Update the currently selected family.
""" """
if family: if handle:
family = self.__dbstate.db.get_family_from_handle(handle)
family_id = family.get_gramps_id() family_id = family.get_gramps_id()
fhandle = family.get_father_handle() fhandle = family.get_father_handle()
mhandle = family.get_mother_handle() mhandle = family.get_mother_handle()