Changeset 14856 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-03-09T14:41:04+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java
r14850 r14856 162 162 sortErrors(errors); 163 163 164 // Remember first selected tree row 165 TreePath selPath = getSelectionPath(); 166 int selRow = selPath == null ? -1 : getRowForPath(selPath); 167 164 168 // Remember the currently expanded rows 165 169 Set<Object> oldSelectedRows = new HashSet<>(); … … 270 274 } 271 275 276 if (selRow >= 0 && selRow < getRowCount()) { 277 setSelectionRow(selRow); 278 scrollRowToVisible(selRow); 279 } 280 272 281 invalidationListeners.fireEvent(Runnable::run); 273 282 }
Note:
See TracChangeset
for help on using the changeset viewer.