Merge pull request #79387 from HolonProduction/completion-update-keep-open

Update completion menu even if no options exist
This commit is contained in:
Rémi Verschelde 2024-03-04 13:32:25 +01:00
commit 314efe9bec
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -932,9 +932,6 @@ void CodeTextEditor::_complete_request() {
if (code_complete_func) { if (code_complete_func) {
code_complete_func(code_complete_ud, ctext, &entries, forced); code_complete_func(code_complete_ud, ctext, &entries, forced);
} }
if (entries.size() == 0) {
return;
}
for (const ScriptLanguage::CodeCompletionOption &e : entries) { for (const ScriptLanguage::CodeCompletionOption &e : entries) {
Color font_color = completion_font_color; Color font_color = completion_font_color;