Changeset 1317 in josm


Ignore:
Timestamp:
2009-01-21T11:58:56+01:00 (13 years ago)
Author:
stoecker
Message:

fix #2025. Patch by xeen. Hopefully this has no side effects

File:
1 edited

Legend:

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

    r1313 r1317  
    147147     */
    148148    @Override public void mouseClicked(MouseEvent e) {
    149 
    150         if (e.getButton() != MouseEvent.BUTTON1)
     149        if (e.getButton() != MouseEvent.BUTTON1 || e.getClickCount() > 1)
    151150            return;
    152151        if(!Main.map.mapView.isDrawableLayer())
Note: See TracChangeset for help on using the changeset viewer.