Protection from a bad child drop
svn: r15785
This commit is contained in:
@@ -56,6 +56,7 @@ class ChildModel(gtk.ListStore):
|
||||
index = 1
|
||||
for child_ref in self.get_data():
|
||||
child = db.get_person_from_handle(child_ref.ref)
|
||||
if child:
|
||||
self.append(row=[
|
||||
index,
|
||||
child.get_gramps_id(),
|
||||
|
Reference in New Issue
Block a user