Ignore:
Timestamp:
2016-08-07T22:52:29+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13290 - pasting from other layer changes objects position (modified patch by michael2402) - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r10611 r10766  
    7474import org.openstreetmap.josm.actions.OverpassDownloadAction;
    7575import org.openstreetmap.josm.actions.PasteAction;
     76import org.openstreetmap.josm.actions.PasteAtSourcePositionAction;
    7677import org.openstreetmap.josm.actions.PasteTagsAction;
    7778import org.openstreetmap.josm.actions.PreferenceToggleAction;
     
    195196    /** Edit / Paste */
    196197    public final PasteAction paste = new PasteAction();
     198    /** Edit / Paste at source */
     199    private final PasteAtSourcePositionAction pasteAtSource = new PasteAtSourcePositionAction();
    197200    /** Edit / Paste Tags */
    198201    public final PasteTagsAction pasteTags = new PasteTagsAction();
     
    680683        add(editMenu, copyCoordinates, true);
    681684        add(editMenu, paste);
     685        add(editMenu, pasteAtSource, true);
    682686        add(editMenu, pasteTags);
    683687        add(editMenu, duplicate);
Note: See TracChangeset for help on using the changeset viewer.