0004821: get_family_from_gramps_id(fid) broken on initialize_family (gui/plug/_guioptions.py)

svn: r17232
This commit is contained in:
Brian Matherly 2011-04-24 02:49:30 +00:00
parent 177c60681c
commit f063797aae

View File

@ -750,9 +750,9 @@ class GuiFamilyOption(gtk.HBox):
if len(fid):
# Use the stored option value
family = self.__db.get_family_from_gramps_id(fid).get_handle()
family = self.__db.get_family_from_gramps_id(fid)
if family:
family_list = [family]
family_list = [family.get_handle()]
else:
# Use the active family if one is selected
family = self.__uistate.get_active('Family')