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

fix shortcut deprecation

Location:
applications/editors/josm/plugins/routes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routes/build.xml

    r27019 r27852  
    2727<project name="routes" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4549"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • 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.