From 66620b497b1ce903c7fb6b96ae3438897e1c0489 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Thu, 9 Sep 2021 12:30:03 -0400 Subject: Fix #8603: Don't give focus to text filter when opening Object GUI (#9547) --- src/object_gui.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/object_gui.cpp b/src/object_gui.cpp index 4e5c5815d..4ab961533 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -117,7 +117,6 @@ public: NWidgetMatrix *matrix = this->GetWidget(WID_BO_SELECT_MATRIX); matrix->SetScrollbar(this->GetScrollbar(WID_BO_SELECT_SCROLL)); - this->SetFocusedWidget(WID_BO_FILTER); this->GetWidget(WID_BO_OBJECT_MATRIX)->SetCount(4); ResetObjectToPlace(); -- cgit v1.2.3-54-g00ecf