diff options
author | Tyler Trahan <tyler@tylertrahan.com> | 2021-09-09 12:30:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 18:30:03 +0200 |
commit | 66620b497b1ce903c7fb6b96ae3438897e1c0489 (patch) | |
tree | ddf24cf1e7334a01365440b7e084326df9d66f93 | |
parent | 6e3d023e693638d68bfb74b2103c26c6e90a6985 (diff) | |
download | openttd-66620b497b1ce903c7fb6b96ae3438897e1c0489.tar.xz |
Fix #8603: Don't give focus to text filter when opening Object GUI (#9547)
-rw-r--r-- | src/object_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<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(); |