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:
@@ -584,6 +584,7 @@ BMenu::KeyDown(const char* bytes, int32 numBytes)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
_InvokeItem(item);
|
_InvokeItem(item);
|
||||||
|
_QuitTracking(false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user