Changeset 14839 in josm
- Timestamp:
- 2019-03-05T21:12:07+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java
r14834 r14839 352 352 walkAndSelectRelatedErrors(new TreePath(getRoot()), new HashSet<>(primitives)::contains, paths); 353 353 getSelectionModel().clearSelection(); 354 getSelectionModel().setSelectionPaths(paths.toArray(new TreePath[ paths.size()]));354 getSelectionModel().setSelectionPaths(paths.toArray(new TreePath[0])); 355 355 // make sure that first path is visible 356 356 if (!paths.isEmpty()) {
Note:
See TracChangeset
for help on using the changeset viewer.