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/signs_gui.cpp | |
parent | 336fcbc50e89b357fa5b9e059961b4a0c00de59e (diff) | |
download | openttd-6d1fe626f5524dc05febe0a715fd9ba80108befd.tar.xz |
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r-- | src/signs_gui.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp index 3af782266..1089a2f87 100644 --- a/src/signs_gui.cpp +++ b/src/signs_gui.cpp @@ -297,10 +297,6 @@ struct SignListWindow : QueryStringBaseWindow, SignList { { EventState state = ES_NOT_HANDLED; switch (this->HandleEditBoxKey(WID_SIL_FILTER_TEXT, key, keycode, state)) { - case HEBR_EDITING: - this->OnOSKInput(WID_SIL_FILTER_TEXT); - break; - case HEBR_CONFIRM: // Enter pressed -> goto first sign in list if (this->signs.Length() >= 1) { const Sign *si = this->signs[0]; @@ -322,7 +318,7 @@ struct SignListWindow : QueryStringBaseWindow, SignList { break; default: - NOT_REACHED(); + break; } return state; |