Skip to content

Commit

Permalink
comment must be in Shortcut.registerShortcut line to work
Browse files Browse the repository at this point in the history
  • Loading branch information
stoecker committed Dec 18, 2024
1 parent c8e6da9 commit 359abb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 359abb1

Please sign in to comment.