Ignore:
Timestamp:
2010-07-19T01:38:47+02:00 (14 years ago)
Author:
nakor
Message:

Quick and dirty fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java

    r22364 r22369  
    5555
    5656    public void actionPerformed(ActionEvent e) {
    57       Collection<OsmPrimitive> selection = Main.main.getCurrentDataSet()
     57      Collection<OsmPrimitive> mainSelection = Main.main.getCurrentDataSet()
    5858          .getSelected();
     59     
     60      ArrayList<OsmPrimitive> selection = new ArrayList<OsmPrimitive>();
     61     
     62      for (OsmPrimitive prim: mainSelection) selection.add(prim);
    5963
    6064      int ways = 0;
Note: See TracChangeset for help on using the changeset viewer.