Protection from a bad child drop

svn: r15785
This commit is contained in:
Doug Blank 2010-08-21 20:18:42 +00:00
parent 01e354f18d
commit 1b884b129d

View File

@ -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(),