Changeset 7764 in josm for trunk/src/org
- Timestamp:
- 2014-12-05T01:10:47+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java
r7005 r7764 41 41 42 42 import org.openstreetmap.josm.Main; 43 import org.openstreetmap.josm.actions.LassoModeAction; 43 44 import org.openstreetmap.josm.actions.RenameLayerAction; 44 45 import org.openstreetmap.josm.actions.mapmode.MapMode; … … 838 839 /** 839 840 * Determines if the functionality of this layer is available in 840 * the specified map mode. SelectAction issupported by default,841 * the specified map mode. {@link SelectAction} and {@link LassoModeAction} are supported by default, 841 842 * other map modes can be registered. 842 843 * @param mapMode Map mode to be checked … … 845 846 */ 846 847 private static final boolean isSupportedMapMode(MapMode mapMode) { 847 if (mapMode instanceof SelectAction) return true; 848 if (mapMode instanceof SelectAction || mapMode instanceof LassoModeAction) { 849 return true; 850 } 848 851 if (supportedMapModes != null) { 849 852 for (MapMode supmmode: supportedMapModes) {
Note:
See TracChangeset
for help on using the changeset viewer.