Fixed bug reveal by optimization

svn: r14139
This commit is contained in:
Doug Blank 2010-01-26 12:21:28 +00:00
parent cf4748ecaf
commit 2c1a4da30c

View File

@ -692,7 +692,8 @@ class ListView(NavigationView):
str(time.clock() - cput) + ' sec')
# Ensure row is still selected after a change of postion in tree.
if not self.selected_handles():
self.goto_handle(handle)
if len(handle_list) > 0:
self.goto_handle(handle_list[-1])
else:
self.dirty = True