Fix flashing box (autocompletion empty list) whilst Typing issue

Fix #9433, close #11460
This commit is contained in:
mpheath 2022-04-01 16:03:12 +10:00 committed by Don Ho
parent 48ee390cdd
commit ee28051a71
1 changed files with 3 additions and 0 deletions

View File

@ -242,6 +242,9 @@ bool AutoCompletion::showApiAndWordComplete()
}
}
if (!wordArray.size())
return false;
// Sort word array and convert it to a single string with space-separated words
sort(wordArray.begin(), wordArray.end());