Changeset 2660 in josm
- Timestamp:
- 2009-12-19T18:13:42+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/ListOfUsedTags.java
r2658 r2660 10 10 11 11 import org.openstreetmap.josm.Main; 12 import org.openstreetmap.josm.data.osm.DataSet; 12 13 import org.openstreetmap.josm.data.osm.OsmPrimitive; 13 14 import org.openstreetmap.josm.data.osm.event.AbstractDatasetChangedEvent; … … 56 57 dirty = false; 57 58 allData.clear(); 58 addPrimitives(Main.main.getCurrentDataSet().allNonDeletedPrimitives()); 59 DataSet currentDataset = Main.main.getCurrentDataSet(); 60 if (currentDataset != null) { 61 addPrimitives(currentDataset.allNonDeletedPrimitives()); 62 } 59 63 } 60 64
Note:
See TracChangeset
for help on using the changeset viewer.