Changeset 9448 in josm for trunk/src


Ignore:
Timestamp:
2016-01-14T18:40:13+01:00 (4 years ago)
Author:
simon04
Message:

see #12352 - Fix "Registered toolbar action dialogs/delete overwritten"

File:
1 edited

Legend:

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

    r9443 r9448  
    2323    public DeleteLayerAction() {
    2424        super(tr("Delete Layer"), "dialogs/delete", tr("Delete the active layer. Does not delete the associated file."),
    25                 Shortcut.registerShortcut("system:deletelayer", tr("File: {0}", tr("Delete Layer")), KeyEvent.VK_F4, Shortcut.CTRL), true);
     25                Shortcut.registerShortcut("system:deletelayer", tr("File: {0}", tr("Delete Layer")), KeyEvent.VK_F4, Shortcut.CTRL),
     26                true, "delete-layer", true);
    2627        putValue("help", ht("/Action/DeleteLayer"));
    2728    }
Note: See TracChangeset for help on using the changeset viewer.