Allow "Space" in accelerator.

This commit is contained in:
Cheng Zhao 2013-10-21 15:35:54 +08:00
parent 30eabfb9f6
commit 94e4044160

View file

@ -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") {