Changeset 6223 in josm for trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java
- Timestamp:
- 2013-09-08T05:51:16+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java
r6084 r6223 188 188 @Override 189 189 public boolean evaluate(OsmPrimitive p) { 190 if (hds.getHistory(p.getPrimitiveId()) == null) 190 History h = hds.getHistory(p.getPrimitiveId()); 191 if (h == null) 191 192 // reload if the history is not in the cache yet 192 193 return true; 193 else if (!p.isNew() && h ds.getHistory(p.getPrimitiveId()).getByVersion(p.getUniqueId()) == null)194 else if (!p.isNew() && h.getByVersion(p.getUniqueId()) == null) 194 195 // reload if the history object of the selected object is not in the cache yet 195 196 return true;
Note:
See TracChangeset
for help on using the changeset viewer.