Protect from null tree iter

svn: r15505
This commit is contained in:
Doug Blank 2010-05-30 11:49:50 +00:00
parent 41a4ff748d
commit 016d45b4a6

View File

@ -115,6 +115,7 @@ class SimpleTable(object):
if path:
treeview.grab_focus()
treeview.set_cursor(path, col, 0)
if store and node:
index = store.get_value(node, 0) # index Below,
# you need index, treeview, path, button_code,
# func, and event_time