From c29f2d22a9ebf0066cf2a146aff98e7fe0b20d76 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Fri, 25 Oct 2013 21:40:13 +0200 Subject: [PATCH] Close the menu on keypress. After _InvokeItem(), call QuitTracking() to close the menu. Incidentally this also seems to fix #9863. --- src/kits/interface/Menu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index c80d4da80f..e94ee760cc 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -584,6 +584,7 @@ BMenu::KeyDown(const char* bytes, int32 numBytes) continue; _InvokeItem(item); + _QuitTracking(false); break; } break;