summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-31 00:57:21 +0000
committerrubidium <rubidium@openttd.org>2009-03-31 00:57:21 +0000
commitd3fa15e620051bcec0093ba4ccb4545a75cbaab3 (patch)
tree9e88525f90bf94a091f66685be04534f5708c70d
parent26f08b2a36079198b266d905d966f2b5ee4b745f (diff)
downloadopenttd-d3fa15e620051bcec0093ba4ccb4545a75cbaab3.tar.xz
(svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail
-rw-r--r--src/network/network_chat_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index 81ab4f30b..18870b0ce 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -469,6 +469,7 @@ public:
EventState state = ES_NOT_HANDLED;
if (keycode == WKC_TAB) {
ChatTabCompletion();
+ state = ES_HANDLED;
} else {
_chat_tab_completion_active = false;
switch (this->HandleEditBoxKey(NWCW_TEXTBOX, key, keycode, state)) {