-
Bug
-
Resolution: Fixed
-
P5
-
5.0
-
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);
}
}
}
======================================================================