summaryrefslogtreecommitdiff
path: root/src/ai
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/ai
parent336fcbc50e89b357fa5b9e059961b4a0c00de59e (diff)
downloadopenttd-6d1fe626f5524dc05febe0a715fd9ba80108befd.tar.xz
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 98feba077..26e794c89 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -1341,10 +1341,6 @@ struct AIDebugWindow : public QueryStringBaseWindow {
{
EventState state = ES_NOT_HANDLED;
switch (this->HandleEditBoxKey(WID_AID_BREAK_STR_EDIT_BOX, key, keycode, state)) {
- case HEBR_EDITING:
- this->OnOSKInput(WID_AID_BREAK_STR_EDIT_BOX);
- break;
-
case HEBR_CANCEL:
/* Unfocus the text box. */
this->UnfocusFocusedWidget();