1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 08:35:09 +00:00

LibGUI: Flesh out focus implementation and more GTextBox work.

This commit is contained in:
Andreas Kling 2019-01-26 11:24:16 +01:00
parent d72575d196
commit de2423de5f
10 changed files with 54 additions and 27 deletions

View file

@ -107,8 +107,8 @@ void GTextBox::keydown_event(GKeyEvent& event)
case KeyCode::Key_Backspace:
return handle_backspace();
case KeyCode::Key_Return:
if (onReturnPressed)
onReturnPressed(*this);
if (on_return_pressed)
on_return_pressed(*this);
return;
}