Changeset 9733 in josm for trunk/src/org
- Timestamp:
- 2016-02-04T01:17:15+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java
r9677 r9733 743 743 OsmDataLayer l = (OsmDataLayer) newLayer; 744 744 l.data.addDataSetListener(this); 745 OsmPrimitive primitive = l.data.getPrimitiveById(history.getId(), history.getType());745 OsmPrimitive primitive = history != null ? l.data.getPrimitiveById(history.getId(), history.getType()) : null; 746 746 HistoryOsmPrimitive latest; 747 747 if (canShowAsLatest(primitive)) {
Note:
See TracChangeset
for help on using the changeset viewer.