| 751 | } |
| 752 | |
| 753 | void CommandManager::SetKeyFromIndex(int i, const NormalizedKeyString &key) |
| 754 | { |
| 755 | if (!(0 <= i && i < NCommands())) { |
| 756 | assert(false); |
| 757 | return; |
| 758 | } |
| 759 | const auto &entry = mCommandList[i]; |
| 760 | entry->key = key; |
| 761 | } |
| 762 | |
| 763 | TranslatableString CommandManager::DescribeCommandsAndShortcuts( |
| 764 | const ComponentInterfaceSymbol commands[], size_t nCommands) const |
no test coverage detected