Changeset 6081 in josm


Ignore:
Timestamp:
2013-07-24T00:12:04+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8896 - Do not use null names for recent tag shortcuts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java

    r5891 r6081  
    636636                String actionShortcutKey = "properties:recent:"+count;
    637637                String actionShortcutShiftKey = "properties:recent:shift:"+count;
    638                 Shortcut sc = Shortcut.registerShortcut(actionShortcutKey, null, KeyEvent.VK_0+count, Shortcut.CTRL);
     638                Shortcut sc = Shortcut.registerShortcut(actionShortcutKey, tr("Choose recent tag {0}", count), KeyEvent.VK_0+count, Shortcut.CTRL);
    639639                final JosmAction action = new JosmAction(actionShortcutKey, null, tr("Use this tag again"), sc, false) {
    640640                    @Override
     
    648648                    }
    649649                };
    650                 Shortcut scShift = Shortcut.registerShortcut(actionShortcutShiftKey, null, KeyEvent.VK_0+count, Shortcut.CTRL_SHIFT);
     650                Shortcut scShift = Shortcut.registerShortcut(actionShortcutShiftKey, tr("Apply recent tag {0}", count), KeyEvent.VK_0+count, Shortcut.CTRL_SHIFT);
    651651                final JosmAction actionShift = new JosmAction(actionShortcutShiftKey, null, tr("Use this tag again"), scShift, false) {
    652652                    @Override
Note: See TracChangeset for help on using the changeset viewer.