Ignore:
Timestamp:
2012-02-18T13:40:52+01:00 (13 years ago)
Author:
stoecker
Message:

fix shortcut deprecation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RelationEditMode.java

    r23189 r27852  
    2727    public RelationEditMode(MapFrame mapFrame) {
    2828        super(tr("Edit relation"), "node/autonode", tr("Edit relations"),
    29                 Shortcut.registerShortcut("mapmode:editRelation", tr("Mode: {0}", tr("Edit relation")), KeyEvent.VK_H, Shortcut.GROUP_EDIT),
     29                Shortcut.registerShortcut("mapmode:editRelation", tr("Mode: {0}", tr("Edit relation")), KeyEvent.VK_H, Shortcut.DIRECT),
    3030                mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    3131    }
Note: See TracChangeset for help on using the changeset viewer.