From b0a056f50a639d9c437b4a11f05cd8932d52eb0e Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Wed, 2 Jan 2013 12:41:35 +0200 Subject: [PATCH] menubar: Treat KP_Enter as pressing Enter (FS#1072) Signed-off-by: Uli Schlachter --- lib/menubar/init.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/menubar/init.lua.in b/lib/menubar/init.lua.in index 1588a701a..4583c78bd 100644 --- a/lib/menubar/init.lua.in +++ b/lib/menubar/init.lua.in @@ -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