Revert "MenuField: Make sure input is a single byte"
This reverts commit 4e075e0f4c
.
This commit is contained in:
parent
7462734202
commit
163fc310f7
@ -439,11 +439,6 @@ BMenuField::MouseDown(BPoint where)
|
||||
void
|
||||
BMenuField::KeyDown(const char* bytes, int32 numBytes)
|
||||
{
|
||||
if (numBytes != 1) {
|
||||
BView::KeyDown(bytes, numBytes);
|
||||
return;
|
||||
}
|
||||
|
||||
switch (bytes[0]) {
|
||||
case B_SPACE:
|
||||
case B_RIGHT_ARROW:
|
||||
|
Loading…
Reference in New Issue
Block a user