Protect from null tree iter
svn: r15505
This commit is contained in:
parent
41a4ff748d
commit
016d45b4a6
@ -115,6 +115,7 @@ class SimpleTable(object):
|
|||||||
if path:
|
if path:
|
||||||
treeview.grab_focus()
|
treeview.grab_focus()
|
||||||
treeview.set_cursor(path, col, 0)
|
treeview.set_cursor(path, col, 0)
|
||||||
|
if store and node:
|
||||||
index = store.get_value(node, 0) # index Below,
|
index = store.get_value(node, 0) # index Below,
|
||||||
# you need index, treeview, path, button_code,
|
# you need index, treeview, path, button_code,
|
||||||
# func, and event_time
|
# func, and event_time
|
||||||
|
Loading…
Reference in New Issue
Block a user