diff --git a/LibGUI/GWindow.cpp b/LibGUI/GWindow.cpp index f221bf220b4..da6ea1fccd3 100644 --- a/LibGUI/GWindow.cpp +++ b/LibGUI/GWindow.cpp @@ -531,6 +531,8 @@ Vector GWindow::focusable_widgets() const auto& child_widget = *static_cast(child); if (!child_widget.is_visible()) continue; + if (!child_widget.is_enabled()) + continue; collect_focusable_widgets(child_widget); } };