Ignore:
Timestamp:
2010-06-04T16:09:55+02:00 (14 years ago)
Author:
stoecker
Message:

related to josm 5104 - reset map mode after converting the layer back, or next click on mapmode is not handled correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxLayer.java

    r21474 r21580  
    150150                        Main.main.addLayer(new GpxLayer(toGpxData(false), tr("Converted from: {0}", getName())));
    151151                        Main.main.removeLayer(EditGpxLayer.this);
     152                        Main.map.selectSelectTool(false);
    152153                }
    153154        }
     
    161162                        Main.main.addLayer(new GpxLayer(toGpxData(true), tr("Converted from: {0}", getName())));
    162163                        Main.main.removeLayer(EditGpxLayer.this);
     164                        Main.map.selectSelectTool(false);
    163165                }
    164166        }
Note: See TracChangeset for help on using the changeset viewer.