Changeset 6936 in josm for trunk/src/org/openstreetmap/josm/gui/history
- Timestamp:
- 2014-03-28T19:53:24+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/NodeListViewer.java
r6883 r6936 276 276 277 277 public void updateEnabledState() { 278 setEnabled(primitiveId != null && primitiveId.getUniqueId() > 0);278 setEnabled(primitiveId != null && !primitiveId.isNew()); 279 279 } 280 280 } … … 314 314 if(row <= 0) return; 315 315 PrimitiveId pid = primitiveIdAtRow(table.getModel(), row); 316 if (pid == null )316 if (pid == null || pid.isNew()) 317 317 return; 318 318 showHistoryAction.setPrimitiveId(pid);
Note:
See TracChangeset
for help on using the changeset viewer.