Changeset 19856 in osm for applications/editors/josm


Ignore:
Timestamp:
2010-02-04T13:09:27+01:00 (14 years ago)
Author:
petrdlouhy
Message:

shift to add newly traced way to selection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tracer/src/tracer/TracerAction.java

    r19855 r19856  
    341341            if (!commands.isEmpty()) {
    342342                Main.main.undoRedo.add(new SequenceCommand(tr("Tracer building"), commands));
    343                 Main.main.getCurrentDataSet().setSelected(way);
     343               
     344                if(shift) Main.main.getCurrentDataSet().addSelected(way);
     345                else Main.main.getCurrentDataSet().setSelected(way);
    344346            } else {
    345347                System.out.println("Failed");
Note: See TracChangeset for help on using the changeset viewer.