Changeset 8509 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
- Timestamp:
- 2015-06-20T14:36:00+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r8444 r8509 271 271 model.setSelectedRelations(relations); 272 272 Integer i = model.getVisibleRelationIndex(relations.iterator().next()); 273 if (i != null) { // Not all relations have to be in the list (for example when the relation list is hidden, it's not updated with new relations) 273 if (i != null) { 274 // Not all relations have to be in the list 275 // (for example when the relation list is hidden, it's not updated with new relations) 274 276 displaylist.scrollRectToVisible(displaylist.getCellBounds(i, i)); 275 277 }
Note:
See TracChangeset
for help on using the changeset viewer.