Changeset 4947 in josm for trunk


Ignore:
Timestamp:
2012-02-15T23:08:25+01:00 (8 years ago)
Author:
stoecker
Message:

shortcut fixes

Location:
trunk/src/org/openstreetmap/josm/gui/dialogs
Files:
2 edited

Legend:

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

    r4674 r4947  
    6868    public UserListDialog() {
    6969        super(tr("Authors"), "userlist", tr("Open a list of people working on the selected objects."),
    70                 Shortcut.registerShortcut("subwindow:authors", tr("Toggle: {0}", tr("Authors")), KeyEvent.VK_A, Shortcut.GROUP_LAYER, Shortcut.SHIFT_DEFAULT), 150);
     70                Shortcut.registerShortcut("subwindow:authors", tr("Toggle: {0}", tr("Authors")), KeyEvent.VK_A, Shortcut.GROUP_LAYER+Shortcut.GROUPS_ALT1), 150);
    7171
    7272        build();
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r4888 r4947  
    633633        super(tr("Properties/Memberships"), "propertiesdialog", tr("Properties for selected objects."),
    634634                Shortcut.registerShortcut("subwindow:properties", tr("Toggle: {0}", tr("Properties/Memberships")), KeyEvent.VK_P,
    635                         Shortcut.GROUP_LAYER, Shortcut.SHIFT_DEFAULT), 150, true);
     635                        Shortcut.GROUP_LAYER+Shortcut.GROUPS_ALT1), 150, true);
    636636
    637637        // setting up the properties table
     
    10401040            super(tr("Delete"), "dialogs/delete", tr("Delete the selected key in all objects"),
    10411041                    Shortcut.registerShortcut("properties:delete", tr("Delete Properties"), KeyEvent.VK_D,
    1042                             Shortcut.GROUP_MNEMONIC), false);
     1042                            Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), false);
    10431043            updateEnabledState();
    10441044        }
     
    11411141            super(tr("Add"), "dialogs/add", tr("Add a new key/value pair to all objects"),
    11421142                    Shortcut.registerShortcut("properties:add", tr("Add Property"), KeyEvent.VK_A,
    1143                             Shortcut.GROUP_MNEMONIC), false);
     1143                            Shortcut.GROUP_DIRECT2), false);
    11441144        }
    11451145
     
    11541154            super(tr("Edit"), "dialogs/edit", tr("Edit the value of the selected key for all objects"),
    11551155                    Shortcut.registerShortcut("properties:edit", tr("Edit Properties"), KeyEvent.VK_S,
    1156                             Shortcut.GROUP_MNEMONIC), false);
     1156                            Shortcut.GROUP_DIRECT2), false);
    11571157            updateEnabledState();
    11581158        }
Note: See TracChangeset for help on using the changeset viewer.