Changeset 1081 in josm


Ignore:
Timestamp:
14.11.2008 22:03:34 (4 years ago)
Author:
stoecker
Message:

fix bug in shortcut handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ShortCut.java

    r1051 r1081  
    267267                        Main.pref.put("shortcut.groups.configured", true); 
    268268                } 
    269                 // pull in the gorups 
     269                // pull in the groups 
    270270                for (int i = GROUP_NONE; i < GROUP__MAX+GROUPS_ALT2*2; i++) { // fill more groups, so registering with e.g. ALT2+MNEMONIC won't NPE 
    271271                        Groups.put(new Integer(i), new Integer(Main.pref.getInteger("shortcut.groups."+i, -1))); 
     
    389389                if(modifier != null) { 
    390390                        if(modifier == SHIFT_DEFAULT) 
    391                                 defaultModifier |= KeyEvent.SHIFT_MASK; 
     391                                defaultModifier |= KeyEvent.SHIFT_DOWN_MASK; 
    392392                        else 
    393393                                defaultModifier = modifier; 
Note: See TracChangeset for help on using the changeset viewer.