From 359abb1deec114ffde16c5c28da6674c4ecf6f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20St=C3=B6cker?= Date: Wed, 18 Dec 2024 17:58:16 +0100 Subject: [PATCH] comment must be in Shortcut.registerShortcut line to work --- .../josm/plugins/maproulette/actions/IgnoreAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/maproulette/actions/IgnoreAction.java b/src/main/java/org/openstreetmap/josm/plugins/maproulette/actions/IgnoreAction.java index 09dbd07..dd02035 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/maproulette/actions/IgnoreAction.java +++ b/src/main/java/org/openstreetmap/josm/plugins/maproulette/actions/IgnoreAction.java @@ -38,8 +38,8 @@ public class IgnoreAction extends JosmAction { */ public IgnoreAction(IgnoreType type) { super(tr(type.getButtonText()), "dialogs/fix", tr(type.getButtonText()), - Shortcut.registerShortcut( - /* NO-SHORTCUT */ "maproulette:ignore." + type.name().toLowerCase(Locale.ROOT), + Shortcut.registerShortcut( /* NO-SHORTCUT */ + "maproulette:ignore." + type.name().toLowerCase(Locale.ROOT), tr("MapRoulette: {0}", tr(type.getButtonText())), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), false); this.type = type;