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
commit b9fc7780ae
Notes: sideshowbarker 2024-07-19 01:59:31 +09:00

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)