CConsole: Fixed problem where window claims focus over all other windows when summary is painted

This commit is contained in:
Kawe Mazidjatari 2022-08-28 17:28:53 +02:00
parent 48e708e498
commit a9aded7fd8

View File

@ -419,7 +419,11 @@ bool CConsole::AutoComplete(void)
// Don't suggest if user tries to assign value to ConVar or execute ConCommand.
if (strstr(m_szInputBuf, " ") || strstr(m_szInputBuf, ";"))
{
ResetAutoComplete();
// !TODO: Add completion logic here.
m_bCanAutoComplete = false;
m_bSuggestActive = false;
m_nSuggestPos = -1;
return false;
}
m_bSuggestActive = true;