Changeset 4855 in josm


Ignore:
Timestamp:
2012-01-22T22:51:40+01:00 (8 years ago)
Author:
simon04
Message:

see #7184 - remap shortcuts of ImproveWayAccuracyAction ([W]), DistributeAction ([Shift]+[B])

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/DistributeAction.java

    r3757 r4855  
    3030    public DistributeAction() {
    3131        super(tr("Distribute Nodes"), "distribute", tr("Distribute the selected nodes to equal distances along a line."),
    32                 Shortcut.registerShortcut("tools:distribute", tr("Tool: {0}", tr("Distribute Nodes")), KeyEvent.VK_B, Shortcut.GROUP_EDIT), true);
     32                Shortcut.registerShortcut("tools:distribute", tr("Tool: {0}", tr("Distribute Nodes")), KeyEvent.VK_B, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
    3333        putValue("help", ht("/Action/DistributeNodes"));
    3434    }
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java

    r4851 r4855  
    101101                Shortcut.registerShortcut("mapmode:ImproveWayAccuracy",
    102102                tr("Mode: {0}", tr("Improve Way Accuracy")),
    103                 KeyEvent.VK_I, Shortcut.GROUP_EDIT), mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
     103                KeyEvent.VK_W, Shortcut.GROUP_EDIT), mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    104104
    105105        cursorSelect = ImageProvider.getCursor("normal", "mode");
Note: See TracChangeset for help on using the changeset viewer.