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@141998 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
96f184653e
commit
ff4a67b324
@ -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)
|
||||
}
|
||||
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user