follow-up to bug 202131: BubbleSort is too slow. fixes an omission that was supposed to go in with the original patch.

p=neil, r=dwitte, sr=darin, a=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@204730 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dwitte%stanford.edu 2006-07-27 14:55:49 +00:00
parent 3e0607160b
commit cf9c2efffe

View File

@ -160,7 +160,7 @@ function SortTree(tree, view, table, column, lastSortColumn, lastSortAscending,
// display the results
tree.treeBoxObject.invalidate();
if (selectedRow>0) {
if (selectedRow >= 0) {
tree.treeBoxObject.ensureRowIsVisible(selectedRow)
}