diff options
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 85f6e3618..4cd60a7c4 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1262,12 +1262,8 @@ struct NewGRFWindow : public QueryStringBaseWindow, NewGRFScanCallback { this->avail_pos = this->avails.Length() - 1; break; - default: { - /* Handle editbox input */ - EventState state = ES_NOT_HANDLED; - this->HandleEditBoxKey(WID_NS_FILTER, key, keycode, state); - return state; - } + default: + return ES_NOT_HANDLED; } if (this->avails.Length() == 0) this->avail_pos = -1; |