Ignore:
Timestamp:
2012-02-17T23:09:13+01:00 (14 years ago)
Author:
stoecker
Message:

readd shortcut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ext_tools/src/ext_tools/ExtToolAction.java

    r27838 r27847  
    2121
    2222    public ExtToolAction(ExtTool tool) {
    23         super(tr(tool.name), "empty", tool.description, null
    24                 null,
    25                 ImageProvider.getCursor("crosshair", null));
     23        super(tr(tool.name), "empty", tool.description,
     24            Shortcut.registerShortcut(tr("exttool:{0}", tool.name), tr("External Tool: {0}", tool.name),
     25                KeyEvent.CHAR_UNDEFINED, Shortcut.NONE),
     26            null, ImageProvider.getCursor("crosshair", null));
    2627        this.tool = tool;
    2728        setEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.