From 9d18a8869f43c09ac0ca90d1067695872b0188b6 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Thu, 9 Sep 2021 12:30:03 -0400 Subject: [PATCH] Fix #8603: Don't give focus to text filter when opening Object GUI (#9547) (cherry picked from commit 66620b497b1ce903c7fb6b96ae3438897e1c0489) --- src/object_gui.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/object_gui.cpp b/src/object_gui.cpp index ed84cb216f..897b94ad38 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();