Changeset 6333 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2013-10-27T03:20:19+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/Command.java
r6173 r6333 86 86 */ 87 87 public Command() { 88 this.layer = Main. map != null && Main.map.mapView != null? Main.map.mapView.getEditLayer() : null;88 this.layer = Main.isDisplayingMapView() ? Main.map.mapView.getEditLayer() : null; 89 89 } 90 90
Note:
See TracChangeset
for help on using the changeset viewer.