Changeset 2256 in josm for trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java
- Timestamp:
- 2009-10-09T17:16:54+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java
r2017 r2256 175 175 } 176 176 } 177 178 @Override 179 protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) { 180 if ("selection".equals(mode)) { 181 setEnabled(selection != null && !selection.isEmpty()); 182 } 183 } 177 184 }
Note:
See TracChangeset
for help on using the changeset viewer.