From 6d1fe626f5524dc05febe0a715fd9ba80108befd Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 13 Nov 2012 21:46:46 +0000 Subject: (svn r24729) -Codechange: Unify the handling of HEBR_EDITING. --- src/newgrf_gui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/newgrf_gui.cpp') 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; } } -- cgit v1.2.3-70-g09d2