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.
This commit is contained in:
dwitte%stanford.edu 2006-07-27 14:55:49 +00:00
Родитель 8a469e6707
Коммит e6e48577ad
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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