Changeset 7278 in josm for trunk


Ignore:
Timestamp:
2014-07-01T01:56:38+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10212, see #10104 - ImproveWayAccuracy: key listeners forgot to remove themselves

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java

    r7227 r7278  
    9090    protected String oldModeHelpText;
    9191
     92    /**
     93     * Constructs a new {@code ImproveWayAccuracyAction}.
     94     * @param mapFrame Map frame
     95     */
    9296    public ImproveWayAccuracyAction(MapFrame mapFrame) {
    9397        super(tr("Improve Way Accuracy"), "improvewayaccuracy.png",
     
    157161        DataSet.removeSelectionListener(this);
    158162
    159         Main.map.keyDetector.addModifierListener(this);
     163        Main.map.keyDetector.removeModifierListener(this);
    160164        Main.map.mapView.repaint();
    161165    }
Note: See TracChangeset for help on using the changeset viewer.