summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:46:46 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:46:46 +0000
commit6d1fe626f5524dc05febe0a715fd9ba80108befd (patch)
treeb85ef2897db71dc2ab9fbce7a5db441dffce755a /src/newgrf_gui.cpp
parent336fcbc50e89b357fa5b9e059961b4a0c00de59e (diff)
downloadopenttd-6d1fe626f5524dc05febe0a715fd9ba80108befd.tar.xz
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 331431356..85f6e3618 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -1265,9 +1265,7 @@ struct NewGRFWindow : public QueryStringBaseWindow, NewGRFScanCallback {
default: {
/* Handle editbox input */
EventState state = ES_NOT_HANDLED;
- if (this->HandleEditBoxKey(WID_NS_FILTER, key, keycode, state) == HEBR_EDITING) {
- this->OnOSKInput(WID_NS_FILTER);
- }
+ this->HandleEditBoxKey(WID_NS_FILTER, key, keycode, state);
return state;
}
}