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:
parent
080ef2e53d
commit
c29f2d22a9
|
@ -584,6 +584,7 @@ BMenu::KeyDown(const char* bytes, int32 numBytes)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
_InvokeItem(item);
|
_InvokeItem(item);
|
||||||
|
_QuitTracking(false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue