diff --git a/atom/browser/ui/accelerator_util.cc b/atom/browser/ui/accelerator_util.cc index d2963cd8feb5..cd2bf49ca2ca 100644 --- a/atom/browser/ui/accelerator_util.cc +++ b/atom/browser/ui/accelerator_util.cc @@ -129,6 +129,8 @@ bool StringToAccelerator(const std::string& description, key = ui::VKEY_BACK; } else if (tokens[i] == "delete") { key = ui::VKEY_DELETE; + } else if (tokens[i] == "insert") { + key = ui::VKEY_INSERT; } else if (tokens[i] == "enter" || tokens[i] == "return") { key = ui::VKEY_RETURN; } else if (tokens[i] == "up") {