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