diff --git a/Userland/Libraries/LibGUI/Window.cpp b/Userland/Libraries/LibGUI/Window.cpp index 539fc680c2..6042ec3ed5 100644 --- a/Userland/Libraries/LibGUI/Window.cpp +++ b/Userland/Libraries/LibGUI/Window.cpp @@ -453,6 +453,10 @@ void Window::handle_key_event(KeyEvent& event) focus_a_widget_if_possible(FocusSource::Keyboard); } + if (m_default_return_key_widget && event.key() == Key_Return) + if (!m_focused_widget || !is