Changeset 2928 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-02-03T00:16:38+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/HistoryDialog.java
r2871 r2928 218 218 data.clear(); 219 219 selectionModel.clearSelection(); 220 if (newSelection == null || newSelection.isEmpty()) return; 221 for (OsmPrimitive primitive: newSelection) { 222 if (primitive.isNew()) { 223 continue; 224 } 225 data.add(primitive); 220 if (newSelection != null && !newSelection.isEmpty()) { 221 for (OsmPrimitive primitive: newSelection) { 222 if (primitive.isNew()) { 223 continue; 224 } 225 data.add(primitive); 226 } 226 227 } 227 228 fireTableDataChanged();
Note:
See TracChangeset
for help on using the changeset viewer.