- Timestamp:
- 2012-05-31T12:10:20+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
r5070 r5254 321 321 if (panel.cbDisable.isSelected()) { 322 322 sc.setAssignedModifier(-1); 323 } else if (panel.tfKey.getSelectedItem() .equals("")) {323 } else if (panel.tfKey.getSelectedItem() == null || panel.tfKey.getSelectedItem().equals("")) { 324 324 sc.setAssignedModifier(KeyEvent.VK_CANCEL); 325 325 } else {
Note:
See TracChangeset
for help on using the changeset viewer.