266267268269270271272273274275276
bindings.unsetVKAction(vk); } } if (argCharacter.isSet()) { for (char ch : argCharacter.getValues()) { bindings.unsetCharAction(ch); } } } else { // Otherwise remove all bindings for the action. int count = 0;
275276277278279280281282283284285
// Otherwise remove all bindings for the action. int count = 0; List<Character> chars = buildCharMap(bindings).get(action); if (chars != null) { for (char ch : chars) { bindings.unsetCharAction(ch); count++; } } List<VirtualKey> vks = buildVKMap(bindings).get(action); if (vks != null) {