Ignore:
Timestamp:
2009-11-07T17:10:51+01:00 (15 years ago)
Author:
jttt
Message:

Changes in selection handling:

  • selection is passed as PrimitiveId instead of OsmPrimitive
  • only primitives that exists in Dataset can be selected
  • selectionChanged event is fired only if selection was really changed
File:
1 edited

Legend:

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

    r2381 r2401  
    527527                newSelection.clear();
    528528                newSelection.add(wayToSelect);
    529                 ds.setSelected(way);
    530                 ds.fireSelectionChanged();
    531529            }
    532530        }
     
    544542                }
    545543            }
    546            
     544
    547545            newSelection.add(n);
    548546            ds.setSelected(n);
Note: See TracChangeset for help on using the changeset viewer.