1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-23 14:39:08 +00:00

Fix #8603: Don't give focus to text filter when opening Object GUI (#9547)

This commit is contained in:
Tyler Trahan
2021-09-09 12:30:03 -04:00
committed by GitHub
parent 6e3d023e69
commit 66620b497b

View File

@@ -117,7 +117,6 @@ public:
NWidgetMatrix *matrix = this->GetWidget<NWidgetMatrix>(WID_BO_SELECT_MATRIX);
matrix->SetScrollbar(this->GetScrollbar(WID_BO_SELECT_SCROLL));
this->SetFocusedWidget(WID_BO_FILTER);
this->GetWidget<NWidgetMatrix>(WID_BO_OBJECT_MATRIX)->SetCount(4);
ResetObjectToPlace();