Allow to set 'unused' as a hotkey to disable that action. Patch by Imarok. Fixes #3051
This was SVN commit r18565.
This commit is contained in:
parent
c70975b116
commit
ab2c73e93a
@ -63,6 +63,9 @@ static void LoadConfigBindings()
|
||||
std::string hotkeyName = configPair.first.substr(7); // strip the "hotkey." prefix
|
||||
for (const CStr& hotkey : configPair.second)
|
||||
{
|
||||
if (hotkey.LowerCase() == "unused")
|
||||
continue;
|
||||
|
||||
std::vector<SKey> keyCombination;
|
||||
|
||||
// Iterate through multiple-key bindings (e.g. Ctrl+I)
|
||||
|
Loading…
Reference in New Issue
Block a user