Changeset 7025 in josm for trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java
- Timestamp:
- 2014-04-29T03:24:57+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java
r7005 r7025 184 184 BugReportExceptionHandler.handleException(e); 185 185 } 186 187 186 } 188 187 }; … … 200 199 // reload if the history is not in the cache yet 201 200 return true; 202 else if (!p.isNew() && h.getByVersion(p.getUniqueId()) == null)201 else 203 202 // reload if the history object of the selected object is not in the cache yet 204 return true; 205 else 206 return false; 203 return (!p.isNew() && h.getByVersion(p.getUniqueId()) == null); 207 204 } 208 205 }; … … 215 212 } 216 213 }; 217 218 214 }
Note:
See TracChangeset
for help on using the changeset viewer.