diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:47:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:47:02 +0000 |
commit | c4d7c8dd427287d42374b5a83842f570642b100c (patch) | |
tree | 2f27364c8fa88537277244fade47f87bcbe4b6fd /src/settings_gui.cpp | |
parent | 7699a7dc06049956b90d3f41a14109ee05b97514 (diff) | |
download | openttd-c4d7c8dd427287d42374b5a83842f570642b100c.tar.xz |
(svn r24733) -Codechange: Move handling of editbox keys to window class.
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 4091bb25c..839134030 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -2406,14 +2406,6 @@ struct GameSettingsWindow : QueryStringBaseWindow { this->SetWidgetDisabledState(WID_GS_COLLAPSE_ALL, all_folded); } - virtual EventState OnKeyPress(uint16 key, uint16 keycode) - { - /* Handle editbox input */ - EventState state = ES_NOT_HANDLED; - this->HandleEditBoxKey(WID_GS_FILTER, key, keycode, state); - return state; - } - virtual void OnOSKInput(int wid) { if (wid == WID_GS_FILTER) { |