1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +00:00

LibGUI: Remove premature return in Window::handle_key_event

This commit is contained in:
jakewestrip 2021-04-21 22:59:08 +10:00 committed by Linus Groh
parent 5f10c0628a
commit b9fc7780ae

View file

@ -446,7 +446,6 @@ void Window::handle_key_event(KeyEvent& event)
{
if (!m_focused_widget && event.type() == Event::KeyDown && event.key() == Key_Tab && !event.ctrl() && !event.alt() && !event.super()) {
focus_a_widget_if_possible(FocusSource::Keyboard);
return;
}
if (m_focused_widget)