Skip to content

Commit

Permalink
fix shortcut parsing hints
Browse files Browse the repository at this point in the history
  • Loading branch information
stoecker committed Nov 30, 2024
1 parent 0c4a889 commit 4647e5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public class ClipboardAction extends MapillaryAction {
*/
public ClipboardAction(final String name, final String successMessage, final Transferable contents) {
super(tr(name), "copy", tr("Copy {0} to clipboard", tr(name)),
Shortcut.registerShortcut("mapillary:copy_to_clipboard_" + name.replace(' ', '_'),
/* NO-SHORTCUT - add definition in classes using ClipboardAction */
Shortcut.registerShortcut(/* NO-SHORTCUT - add definition in classes using ClipboardAction */
"mapillary:copy_to_clipboard_" + name.replace(' ', '_'),
tr("Mapillary: {0}", tr(name)), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE),
false, "mapillary:copy_to_clipboard_" + name.replace(' ', '_'), false);
this.contents = contents;
Expand Down

0 comments on commit 4647e5e

Please sign in to comment.