Changeset 2070 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
- Timestamp:
- 2009-09-06T23:07:33+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java
r2025 r2070 379 379 380 380 public void launchEditorForDuplicate(Relation original) { 381 Relation copy = new Relation( );381 Relation copy = new Relation(original.getId()); 382 382 copy.cloneFrom(original); 383 // FIXME: id is going to be hidden. How to reset a primitive? 384 // 385 copy.id = 0; 383 copy.clearOsmId(); 386 384 copy.setModified(true); 387 385 RelationEditor editor = RelationEditor.getEditor(
Note:
See TracChangeset
for help on using the changeset viewer.