* src/PedView.py (load_canvas): Catch bug of not existing family
svn: r4341
This commit is contained in:
parent
cf06392e6c
commit
78fcabe770
@ -1,3 +1,6 @@
|
||||
2005-04-11 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/PedView.py (load_canvas): Catch bug of not existing family
|
||||
|
||||
2005-04-10 Alex Roitman <shura@gramps-project.org>
|
||||
* Release: Version 1.1.95 "When danger reared its ugly head,
|
||||
he bravely turned his tail and fled" released.
|
||||
|
@ -281,6 +281,8 @@ class PedigreeView:
|
||||
|
||||
for family_handle in self.active_person.get_family_handle_list():
|
||||
family = self.db.get_family_from_handle(family_handle)
|
||||
if not family:
|
||||
continue
|
||||
if len(family.get_child_handle_list()) > 0:
|
||||
button,arrow = self.make_arrow_button(gtk.ARROW_LEFT,
|
||||
self.on_show_child_menu)
|
||||
|
Loading…
Reference in New Issue
Block a user