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/ai | |
parent | 336fcbc50e89b357fa5b9e059961b4a0c00de59e (diff) | |
download | openttd-6d1fe626f5524dc05febe0a715fd9ba80108befd.tar.xz |
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_gui.cpp | 4 |
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(); |