Changeset 1819 in josm


Ignore:
Timestamp:
2009-07-21T07:35:17+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3020: Duplicating relation does not work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r1816 r1819  
    10011001            tagEditorModel.applyToPrimitive(copy);
    10021002            memberTableModel.applyToRelation(copy);
     1003            getLayer().data.addPrimitive(copy);
     1004            getLayer().fireDataChange();
    10031005            RelationEditor editor = RelationEditor.getEditor(getLayer(), copy, memberTableModel.getSelectedMembers());
    10041006            editor.setVisible(true);
Note: See TracChangeset for help on using the changeset viewer.