@@ -471,15 +471,17 @@ struct NetworkChatWindow : public Window
ChatTabCompletion();
state = ES_HANDLED;
}
return state;
void OnEditboxChanged(int wid) override
void OnEditboxChanged(int widget) override
{
_chat_tab_completion_active = false;
if (widget == WID_NC_TEXTBOX) {
/**
* Some data on this window has become invalid.
* @param data Information about the changed data.
* @param gui_scope Whether the call is done from GUI scope. You may not do everything when not in GUI scope. See #InvalidateWindowData() for details.