Changeset 12639 in josm for trunk/src/org/openstreetmap/josm/actions/CopyAction.java
- Timestamp:
- 2017-08-25T01:37:31+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CopyAction.java
r10605 r12639 16 16 import org.openstreetmap.josm.data.osm.DataSet; 17 17 import org.openstreetmap.josm.data.osm.OsmPrimitive; 18 import org.openstreetmap.josm.gui.MainApplication; 18 19 import org.openstreetmap.josm.gui.datatransfer.ClipboardUtils; 19 20 import org.openstreetmap.josm.gui.datatransfer.PrimitiveTransferable; … … 36 37 putValue("help", ht("/Action/Copy")); 37 38 // CUA shortcut for copy (https://en.wikipedia.org/wiki/IBM_Common_User_Access#Description) 38 Main .registerActionShortcut(this,39 MainApplication.registerActionShortcut(this, 39 40 Shortcut.registerShortcut("system:copy:cua", tr("Edit: {0}", tr("Copy")), KeyEvent.VK_INSERT, Shortcut.CTRL)); 40 41 }
Note:
See TracChangeset
for help on using the changeset viewer.