Ignore:
Timestamp:
2008-12-25T14:36:26+01:00 (17 years ago)
Author:
stoecker
Message:

updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java

    r12443 r12579  
    2727import org.openstreetmap.josm.data.osm.visitor.CollectBackReferencesVisitor;
    2828import org.openstreetmap.josm.gui.layer.OsmDataLayer;
     29import org.openstreetmap.josm.tools.Shortcut;
    2930
    3031public class SimplifyWayAction extends JosmAction {
    3132    public SimplifyWayAction() {
    32         super(tr("Simplify Way"), "simplify", tr("Delete unnecessary nodes from a way."), KeyEvent.VK_Y,
    33                 KeyEvent.CTRL_MASK | KeyEvent.SHIFT_MASK, true);
     33        super(tr("Simplify Way"), "simplify", tr("Delete unnecessary nodes from a way."), Shortcut.registerShortcut("tools:simplify", tr("Tool: {0}", tr("Simplify Way")),
     34        KeyEvent.VK_Y, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
    3435    }
    3536
Note: See TracChangeset for help on using the changeset viewer.