Changeset 1913 in josm
- Timestamp:
- 2009-08-05T10:41:36+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r1911 r1913 965 965 if (layer == null) 966 966 return; 967 Main.map.mapView.moveLayer(layer,0);968 967 Main.map.mapView.setActiveLayer(layer); 969 968 layer.setVisible(true); 970 selectionModel.setSelectionInterval(0,0); 969 int idx = getLayers().indexOf(layer); 970 selectionModel.setSelectionInterval(idx,idx); 971 971 ensureSelectedIsVisible(); 972 972 }
Note:
See TracChangeset
for help on using the changeset viewer.