* src/DisplayModels.py: fix datalist[0] problem running with accessbility enabled
svn: r5397
This commit is contained in:
parent
1daad9d817
commit
052833510f
@ -5,6 +5,7 @@
|
||||
* src/plugins/IndivComplete.py: Add author.
|
||||
|
||||
2005-11-10 Don Allingham <don@gramps-project.org>
|
||||
* 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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user