diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:46:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:46:46 +0000 |
commit | 6d1fe626f5524dc05febe0a715fd9ba80108befd (patch) | |
tree | b85ef2897db71dc2ab9fbce7a5db441dffce755a /src/settings_gui.cpp | |
parent | 336fcbc50e89b357fa5b9e059961b4a0c00de59e (diff) | |
download | openttd-6d1fe626f5524dc05febe0a715fd9ba80108befd.tar.xz |
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index c74098ae5..4091bb25c 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -2410,9 +2410,7 @@ struct GameSettingsWindow : QueryStringBaseWindow { { /* Handle editbox input */ EventState state = ES_NOT_HANDLED; - if (this->HandleEditBoxKey(WID_GS_FILTER, key, keycode, state) == HEBR_EDITING) { - this->OnOSKInput(WID_GS_FILTER); - } + this->HandleEditBoxKey(WID_GS_FILTER, key, keycode, state); return state; } |