0001702: invoking family group reports crashes gramps

svn: r9986
This commit is contained in:
Brian Matherly
2008-02-02 21:23:08 +00:00
parent d9a1acc4f5
commit 08c54e0d2e
3 changed files with 12 additions and 3 deletions

@@ -516,8 +516,9 @@ class GuiFamilyOption(gtk.HBox):
# Finally, take any family you can find.
family_list = self.__db.get_family_handles()
family = self.__db.get_family_from_handle(family_list[0])
self.__update_family(family)
if family_list:
family = self.__db.get_family_from_handle(family_list[0])
self.__update_family(family)
def __get_family_clicked(self, obj): # IGNORE:W0613 - obj is unused
"""