Support INSERT in accelerator, fixes #398.
This commit is contained in:
parent
b431566421
commit
2cdcb45d16
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,8 @@ bool StringToAccelerator(const std::string& description,
|
||||||
key = ui::VKEY_BACK;
|
key = ui::VKEY_BACK;
|
||||||
} else if (tokens[i] == "delete") {
|
} else if (tokens[i] == "delete") {
|
||||||
key = ui::VKEY_DELETE;
|
key = ui::VKEY_DELETE;
|
||||||
|
} else if (tokens[i] == "insert") {
|
||||||
|
key = ui::VKEY_INSERT;
|
||||||
} else if (tokens[i] == "enter" || tokens[i] == "return") {
|
} else if (tokens[i] == "enter" || tokens[i] == "return") {
|
||||||
key = ui::VKEY_RETURN;
|
key = ui::VKEY_RETURN;
|
||||||
} else if (tokens[i] == "up") {
|
} else if (tokens[i] == "up") {
|
||||||
|
|
Loading…
Reference in a new issue