diff --git a/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java b/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
index e8db22e..6077d42 100644
a
|
b
|
public class DrawAction extends MapMode implements MapViewPaintable, SelectionCh
|
293 | 293 | // select the clicked node and do nothing else |
294 | 294 | // (this is just a convenience option so that people don't |
295 | 295 | // have to switch modes) |
296 | | newSelection.clear(); |
297 | | newSelection.add(n); |
| 296 | |
| 297 | // newSelection.clear(); // remove me, no effect since we return below and variable is local |
| 298 | // newSelection.add(n); // remove me, no effect since we return below and variable is local |
| 299 | |
298 | 300 | getCurrentDataSet().setSelected(n); |
| 301 | // If we extend/continue an existing way, select it already now to make it obvious |
| 302 | Way continueFrom = getWayForNode(n); |
| 303 | if (continueFrom != null) { |
| 304 | getCurrentDataSet().addSelected(continueFrom); |
| 305 | } |
| 306 | |
299 | 307 | // The user explicitly selected a node, so let him continue drawing |
300 | 308 | wayIsFinished = false; |
301 | 309 | return; |