Allow "Space" in accelerator.
This commit is contained in:
parent
30eabfb9f6
commit
94e4044160
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ bool StringToAccelerator(const std::string& description,
|
|||
modifiers |= ui::EF_SHIFT_DOWN;
|
||||
} else if (tokens[i] == "tab") {
|
||||
key = ui::VKEY_TAB;
|
||||
} else if (tokens[i] == "space") {
|
||||
key = ui::VKEY_SPACE;
|
||||
} else if (tokens[i] == "backspace") {
|
||||
key = ui::VKEY_BACK;
|
||||
} else if (tokens[i] == "delete") {
|
||||
|
|
Loading…
Reference in a new issue