Changeset 10711 in josm
- Timestamp:
- 2016-08-03T09:57:29+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SelectAllAction.java
r10382 r10711 9 9 10 10 import org.openstreetmap.josm.data.osm.DataSet; 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 11 12 import org.openstreetmap.josm.tools.Shortcut; 12 13 … … 27 28 return; 28 29 DataSet ds = getLayerManager().getEditDataSet(); 29 ds.setSelected(ds. allNonDeletedCompletePrimitives());30 ds.setSelected(ds.getPrimitives(OsmPrimitive::isSelectable)); 30 31 } 31 32 -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r10658 r10711 673 673 Collection<OsmPrimitive> all; 674 674 if (setting.allElements) { 675 all = Main.getLayerManager().getEditDataSet().allPrimitives();675 all = ds.allPrimitives(); 676 676 } else { 677 all = Main.getLayerManager().getEditDataSet().allNonDeletedCompletePrimitives();677 all = ds.getPrimitives(OsmPrimitive::isSelectable); 678 678 } 679 679 final ProgressMonitor subMonitor = getProgressMonitor().createSubTaskMonitor(all.size(), false);
Note:
See TracChangeset
for help on using the changeset viewer.