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