menubar: Treat KP_Enter as pressing Enter (FS#1072)

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Alexander Yakushev 2013-01-02 12:41:35 +02:00 committed by Uli Schlachter
parent 9631ada0d2
commit b0a056f50a
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ local function prompt_keypressed_callback(mod, key, comm)
elseif key == "End" then
current_item = #shownitems
return true
elseif key == "Return" then
elseif key == "Return" or key == "KP_Enter" then
if mod.Control then
current_item = #shownitems
if mod.Mod1 then