Need to send a key up, silly.

This commit is contained in:
Sam Lantinga 2011-11-07 02:24:52 -05:00
parent 2c5a3ddb62
commit 352caf548a

View file

@ -304,6 +304,7 @@
- (BOOL)textFieldShouldReturn:(UITextField*)_textField
{
SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_RETURN);
SDL_SendKeyboardKey(SDL_RELEASED, SDL_SCANCODE_RETURN);
[self hideKeyboard];
return YES;
}