FlatTreeView : Fix wrong return values
This commit is contained in:
parent
d4a99d8488
commit
22ef07cdeb
@ -861,7 +861,7 @@ class FlatBaseModel(GObject.GObject, Gtk.TreeModel):
|
|||||||
#print 'do_iter_nth_child', iter, nth
|
#print 'do_iter_nth_child', iter, nth
|
||||||
if iter == None:
|
if iter == None:
|
||||||
return True, self.node_map.get_iter(nth)
|
return True, self.node_map.get_iter(nth)
|
||||||
return False
|
return False, None
|
||||||
|
|
||||||
def do_iter_parent(self, iter):
|
def do_iter_parent(self, iter):
|
||||||
"""
|
"""
|
||||||
@ -869,4 +869,4 @@ class FlatBaseModel(GObject.GObject, Gtk.TreeModel):
|
|||||||
See Gtk.TreeModel
|
See Gtk.TreeModel
|
||||||
"""
|
"""
|
||||||
#print 'do_iter_parent'
|
#print 'do_iter_parent'
|
||||||
return False
|
return False, None
|
||||||
|
Loading…
Reference in New Issue
Block a user