Removes all shortcuts Doesn't call RefreshBindings()
| 367 | // Removes all shortcuts |
| 368 | // Doesn't call RefreshBindings() |
| 369 | void KeyConfigPrefs::ClearAllKeys() |
| 370 | { |
| 371 | const NormalizedKeyString noKey{ NO_SHORTCUT }; |
| 372 | for (const auto & command : mNames) |
| 373 | mManager->SetKeyFromName(command, noKey); |
| 374 | } |
| 375 | |
| 376 | // Checks if the given vector of keys contains illegal duplicates. |
| 377 | // In case it does, stores the prefixed labels of operations |
nothing calls this directly
no test coverage detected