Ticket #2025: SuperSimplePatchThatMakesNoEffortToCheckIn.patch
| File SuperSimplePatchThatMakesNoEffortToCheckIn.patch, 726 bytes (added by , 17 years ago) |
|---|
-
src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
diff -u -r -N orig/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
old new 146 146 * If in nodeway mode, insert the node into the way. 147 147 */ 148 148 @Override public void mouseClicked(MouseEvent e) { 149 150 if (e.getButton() != MouseEvent.BUTTON1) 149 if (e.getButton() != MouseEvent.BUTTON1 || e.getClickCount() > 1) 151 150 return; 152 151 if(!Main.map.mapView.isDrawableLayer()) 153 152 return;
