Changeset 4848 in josm


Ignore:
Timestamp:
2012-01-22T16:23:31+01:00 (8 years ago)
Author:
bastiK
Message:

fixed #7100 - Regression: JOSM does not allow to select Georeferences Images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java

    r4751 r4848  
    757757        mapModeListener = new MapModeChangeListener() {
    758758            public void mapModeChange(MapMode oldMapMode, MapMode newMapMode) {
    759                 if (newMapMode instanceof org.openstreetmap.josm.actions.mapmode.SelectAction) {
     759                if (newMapMode == null || (newMapMode instanceof org.openstreetmap.josm.actions.mapmode.SelectAction)) {
    760760                    Main.map.mapView.addMouseListener(mouseAdapter);
    761761                } else {
Note: See TracChangeset for help on using the changeset viewer.