summaryrefslogtreecommitdiff
path: root/src/signs_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/signs_gui.cpp
parent336fcbc50e89b357fa5b9e059961b4a0c00de59e (diff)
downloadopenttd-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.cpp6
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;