Fix error when returning path of top level node
svn: r20753
This commit is contained in:
		@@ -965,7 +965,7 @@ class TreeBaseModel(GObject.Object, Gtk.TreeModel):
 | 
			
		||||
            pathlist.append(index)
 | 
			
		||||
            node = parent
 | 
			
		||||
 | 
			
		||||
        if pathlist is not None:
 | 
			
		||||
        if pathlist:
 | 
			
		||||
            pathlist.reverse()
 | 
			
		||||
            return Gtk.TreePath(tuple(pathlist))
 | 
			
		||||
        else:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user