Changeset 5798 in josm
- Timestamp:
- 2013-03-23T00:51:05+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r5674 r5798 590 590 boolean changed; 591 591 synchronized (selectionLock) { 592 boolean wasEmpty = selectedPrimitives.isEmpty();592 LinkedHashSet<OsmPrimitive> oldSelection = new LinkedHashSet<OsmPrimitive>(selectedPrimitives); 593 593 selectedPrimitives = new LinkedHashSet<OsmPrimitive>(); 594 changed = addSelected(selection, false)595 || (!wasEmpty && selectedPrimitives.isEmpty());594 addSelected(selection, false); 595 changed = !oldSelection.equals(selectedPrimitives); 596 596 if (changed) { 597 597 selectionSnapshot = null;
Note:
See TracChangeset
for help on using the changeset viewer.