mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibGUI: Flesh out focus implementation and more GTextBox work.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user