()
| 85 | } |
| 86 | |
| 87 | public void cmdOk() { |
| 88 | if (!editModificatorKey) { |
| 89 | u.command_id = UserKeyExec.getCommandID((String) commands_t.items.elementAt(commands_t.getSelectedIndex())); |
| 90 | } |
| 91 | |
| 92 | if (origin_key == null) { |
| 93 | userKeysList.keyScheme.addKey(u); |
| 94 | } else { |
| 95 | origin_key.copyFrom(u); |
| 96 | } |
| 97 | |
| 98 | if (!editModificatorKey) { |
| 99 | userKeysList.commandState(); |
| 100 | } |
| 101 | destroyView(); |
| 102 | } |
| 103 | |
| 104 | public void eventOk() { |
| 105 | if (key_t.selected) |
nothing calls this directly
no test coverage detected