From 016d45b4a6849de90755430e2a2421b653c595ec Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 30 May 2010 11:49:50 +0000 Subject: [PATCH] Protect from null tree iter svn: r15505 --- src/Simple/_SimpleTable.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Simple/_SimpleTable.py b/src/Simple/_SimpleTable.py index 14e85f138..e3bf4e5f3 100644 --- a/src/Simple/_SimpleTable.py +++ b/src/Simple/_SimpleTable.py @@ -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