diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapObjectLayerAction.java b/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapObjectLayerAction.java index 5a4efc1da..aa4c20191 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapObjectLayerAction.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapObjectLayerAction.java @@ -22,8 +22,8 @@ public class MapObjectLayerAction extends JosmAction { public MapObjectLayerAction() { super( - I18n.tr(ACTION_NAME), MapillaryPlugin.LOGO.setSize(ImageSizes.DEFAULT), I18n.tr(DESCRIPTION), Shortcut - .registerShortcut("mapillary:trafficSignLayer", ACTION_NAME, KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), + I18n.tr(ACTION_NAME), MapillaryPlugin.LOGO.setSize(ImageSizes.DEFAULT), I18n.tr(DESCRIPTION), + Shortcut.registerShortcut("mapillary:trafficSignLayer", ACTION_NAME, KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), false, "mapillary:trafficSignLayer", true); } diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapPointObjectLayerAction.java b/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapPointObjectLayerAction.java index 3c6618b22..0d37e2d95 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapPointObjectLayerAction.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapillary/actions/MapPointObjectLayerAction.java @@ -27,8 +27,8 @@ public class MapPointObjectLayerAction extends JosmAction { "Displays the layer displaying the map point objects detected by Mapillary"); public MapPointObjectLayerAction() { - super(tr(ACTION_NAME), MapillaryPlugin.LOGO.setSize(ImageSizes.DEFAULT), tr(TOOLTIP), Shortcut - .registerShortcut("mapillary:pointFeaturesLayer", tr(ACTION_NAME), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), + super(tr(ACTION_NAME), MapillaryPlugin.LOGO.setSize(ImageSizes.DEFAULT), tr(TOOLTIP), + Shortcut.registerShortcut("mapillary:pointFeaturesLayer", tr(ACTION_NAME), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), false, "mapillary:pointFeaturesLayer", true); }