The return key is never supposed to reach the BTextView implementation, even if

we don't have to invoke in the URLTextView.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@440 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi 2010-04-20 15:43:23 +00:00 committed by Alexandre Deckner
parent 9b70fc27d2
commit ae82400bb4

View File

@ -269,6 +269,10 @@ URLInputGroup::URLTextView::KeyDown(const char* bytes, int32 numBytes)
SelectAll(); SelectAll();
break; break;
case B_RETURN:
// Don't let this through to the text view.
break;
default: default:
BTextView::KeyDown(bytes, numBytes); BTextView::KeyDown(bytes, numBytes);
break; break;