Changeset 13952 in josm for trunk/src/org
- Timestamp:
- 2018-06-18T19:39:07+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetSearchPrimitiveDialog.java
r13926 r13952 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.actions.JosmAction; 12 import org.openstreetmap.josm.data.osm. DataSet;12 import org.openstreetmap.josm.data.osm.OsmData; 13 13 import org.openstreetmap.josm.gui.ExtendedDialog; 14 14 import org.openstreetmap.josm.gui.MainApplication; … … 86 86 TaggingPreset preset = selector.getSelectedPresetAndUpdateClassification(); 87 87 if (preset != null) { 88 DataSet ds = Main.main.getActiveDataSet();88 OsmData<?, ?, ?, ?> ds = MainApplication.getLayerManager().getActiveData(); 89 89 ds.setSelected(new HashSet<>(ds.getPrimitives(preset))); 90 90 }
Note:
See TracChangeset
for help on using the changeset viewer.