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

svn: r17233
This commit is contained in:
Brian Matherly 2011-04-24 02:54:26 +00:00
parent b6471586d4
commit f3cc4a4b05

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')