-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 5.0
-
Component/s: client-libs
-
b28
-
generic
-
generic
Name: omR10226 Date: 10/16/2003
In the method BasicTreeUI$Actions.moveSelectionToParent
ensureRowsAreVisible must be called only if index != -1:
--- 4181,4188 ----
int newIndex = ui.getRowForPath(tree, path.getParentPath());
if (newIndex != -1) {
tree.setSelectionInterval(newIndex, newIndex);
ui.ensureRowsAreVisible(newIndex, newIndex);
}
}
}
======================================================================