mirror of https://github.com/OpenTTD/OpenTTD
(svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail
parent
26f08b2a36
commit
d3fa15e620
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue