changeset 11542:780f81fca019 draft

(svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail
author rubidium <rubidium@openttd.org>
date Tue, 31 Mar 2009 00:57:21 +0000
parents 400b48f0c92b
children 8b0fe56a5b44
files src/network/network_chat_gui.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -469,6 +469,7 @@
 		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)) {