Changeset 17767 in josm for trunk


Ignore:
Timestamp:
2021-04-13T17:25:23+02:00 (4 years ago)
Author:
GerdP
Message:

fix #20624: keyboard shortcut to copy url to osm element in clipboard

  • new action to copy urls of selected OSM elements and notes
Location:
trunk/src/org/openstreetmap/josm
Files:
1 added
1 edited

Legend:

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

    r17021 r17767  
    4040import org.openstreetmap.josm.actions.CopyAction;
    4141import org.openstreetmap.josm.actions.CopyCoordinatesAction;
     42import org.openstreetmap.josm.actions.CopyUrlAction;
    4243import org.openstreetmap.josm.actions.CreateCircleAction;
    4344import org.openstreetmap.josm.actions.CreateMultipolygonAction;
     
    215216    /** Edit / Copy */
    216217    public final CopyAction copy = new CopyAction();
     218    /** Edit / Copy URLs*/
     219    public final CopyUrlAction copyUrl = new CopyUrlAction();
    217220    /** Edit / Copy Coordinates */
    218221    public final JosmAction copyCoordinates = new CopyCoordinatesAction();
     
    768771        add(editMenu, copy);
    769772        add(editMenu, copyCoordinates, true);
     773        add(editMenu, copyUrl, true);
    770774        add(editMenu, paste);
    771775        add(editMenu, pasteAtSource, true);
Note: See TracChangeset for help on using the changeset viewer.