diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 6b3fafdeb..2402b563b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -5,6 +5,7 @@ * src/plugins/IndivComplete.py: Add author. 2005-11-10 Don Allingham + * src/DisplayModels.py: fix datalist[0] problem running with accessbility enabled * doc/xmldocs.make: fix for GNOME 2.12 help path * doc/gramps-manual/C/gramps-manual-C.omf: fix for GNOME 2.12 help path. diff --git a/gramps2/src/DisplayModels.py b/gramps2/src/DisplayModels.py index 0aabac838..98b43766d 100644 --- a/gramps2/src/DisplayModels.py +++ b/gramps2/src/DisplayModels.py @@ -163,7 +163,7 @@ class BaseModel(gtk.GenericTreeModel): def on_iter_children(self,node): """Return the first child of the node""" - if node == None: + if node == None and self.datalist: return self.datalist[0] return None