Changeset 2558 in josm for trunk/src/org


Ignore:
Timestamp:
2009-12-01T18:21:24+01:00 (14 years ago)
Author:
bastiK
Message:

fix #3838 - DrawAction: Wrong start point for helper line after adding node with double click

File:
1 edited

Legend:

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

    r2528 r2558  
    313313            // Change draw tool only if mouse position is nearly the same, as
    314314            // otherwise fast clicks will count as a double click
    315             getCurrentDataSet().setSelected(Collections.singleton(lastUsedNode));
    316315            finishDrawing();
    317316            return;
     
    541540                }
    542541            }
    543 
     542            newSelection.clear();
    544543            newSelection.add(n);
    545544        } else if (!newNode) {
Note: See TracChangeset for help on using the changeset viewer.