- Timestamp:
- 2009-12-18T20:10:06+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r2652 r2653 623 623 */ 624 624 public void setActiveLayer(Layer layer) { 625 if ( !layers.contains(layer))625 if (layer != null && !layers.contains(layer)) 626 626 throw new IllegalArgumentException(tr("Layer ''{0}'' must be in list of layers", layer.toString())); 627 627
Note:
See TracChangeset
for help on using the changeset viewer.