Changeset 12497 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-07-23T15:51:43+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
r11017 r12497 101 101 // Assume all known keys are declared in KeyEvent as "public static int VK_*" 102 102 for (Field field : KeyEvent.class.getFields()) { 103 if (field.getName().startsWith("VK_")) { 103 // Ignore VK_KP_DOWN, UP, etc. because they have the same name as VK_DOWN, UP, etc. See #8340 104 if (field.getName().startsWith("VK_") && !field.getName().startsWith("VK_KP_")) { 104 105 try { 105 106 int i = field.getInt(null);
Note:
See TracChangeset
for help on using the changeset viewer.