Close the menu on keypress.

After _InvokeItem(), call QuitTracking() to close the menu.
Incidentally this also seems to fix #9863.
This commit is contained in:
Stefano Ceccherini 2013-10-25 21:40:13 +02:00
parent 080ef2e53d
commit c29f2d22a9
1 changed files with 1 additions and 0 deletions

View File

@ -584,6 +584,7 @@ BMenu::KeyDown(const char* bytes, int32 numBytes)
continue; continue;
_InvokeItem(item); _InvokeItem(item);
_QuitTracking(false);
break; break;
} }
break; break;