0001702: invoking family group reports crashes gramps
svn: r9986
This commit is contained in:
parent
d9a1acc4f5
commit
08c54e0d2e
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-02 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/PluginUtils/_GuiOptions.py:
|
||||||
|
* src/plugins/FamilyGroup.py:
|
||||||
|
0001702: invoking family group reports crashes gramps
|
||||||
|
|
||||||
2008-02-02 Brian Matherly <brian@gramps-project.org>
|
2008-02-02 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/ReportBase/_Endnotes.py:
|
* src/ReportBase/_Endnotes.py:
|
||||||
0001704: Det. anc. report - newline needed after endnote entries.
|
0001704: Det. anc. report - newline needed after endnote entries.
|
||||||
|
@ -516,6 +516,7 @@ class GuiFamilyOption(gtk.HBox):
|
|||||||
# Finally, take any family you can find.
|
# Finally, take any family you can find.
|
||||||
family_list = self.__db.get_family_handles()
|
family_list = self.__db.get_family_handles()
|
||||||
|
|
||||||
|
if family_list:
|
||||||
family = self.__db.get_family_from_handle(family_list[0])
|
family = self.__db.get_family_from_handle(family_list[0])
|
||||||
self.__update_family(family)
|
self.__update_family(family)
|
||||||
|
|
||||||
|
@ -67,7 +67,10 @@ class FamilyGroup(Report):
|
|||||||
|
|
||||||
family_id = menu.get_option_by_name('family_id').get_value()
|
family_id = menu.get_option_by_name('family_id').get_value()
|
||||||
family = database.get_family_from_gramps_id(family_id)
|
family = database.get_family_from_gramps_id(family_id)
|
||||||
|
if family:
|
||||||
self.family_handle = family.get_handle()
|
self.family_handle = family.get_handle()
|
||||||
|
else:
|
||||||
|
self.family_handle = None
|
||||||
|
|
||||||
self.recursive = menu.get_option_by_name('recursive').get_value()
|
self.recursive = menu.get_option_by_name('recursive').get_value()
|
||||||
self.missingInfo = menu.get_option_by_name('missinginfo').get_value()
|
self.missingInfo = menu.get_option_by_name('missinginfo').get_value()
|
||||||
|
Loading…
Reference in New Issue
Block a user