Changeset 6721 in josm for trunk/src


Ignore:
Timestamp:
2014-01-17T23:20:43+01:00 (11 years ago)
Author:
simon04
Message:

see #9492 - Remap shortcuts for "create/update multipolygon"

File:
1 edited

Legend:

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

    r6623 r6721  
    6565    public CreateMultipolygonAction(final boolean update) {
    6666        super(getName(update), "multipoly_create", getName(update),
    67                 update  ? null
    68                         : Shortcut.registerShortcut("tools:multipoly", tr("Tool: {0}", getName(false)), KeyEvent.VK_A, Shortcut.ALT_CTRL),
     67                update  ? Shortcut.registerShortcut("tools:multipoly_update", tr("Tool: {0}", getName(true)), KeyEvent.VK_B, Shortcut.CTRL_SHIFT)
     68                        : Shortcut.registerShortcut("tools:multipoly_create", tr("Tool: {0}", getName(false)), KeyEvent.VK_B, Shortcut.CTRL),
    6969                true, update ? "multipoly_update" : "multipoly_create", true);
    7070        this.update = update;
Note: See TracChangeset for help on using the changeset viewer.