From 46197cec74b6a73c8c14c5e8423be25ae6cb7fad Mon Sep 17 00:00:00 2001 From: HolonProduction Date: Wed, 12 Jul 2023 21:04:36 +0200 Subject: [PATCH] Update completion menu even if no options exist --- editor/code_editor.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 76d0d401102..d54133c7ae1 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -940,9 +940,6 @@ void CodeTextEditor::_complete_request() { if (code_complete_func) { code_complete_func(code_complete_ud, ctext, &entries, forced); } - if (entries.size() == 0) { - return; - } for (const ScriptLanguage::CodeCompletionOption &e : entries) { Color font_color = completion_font_color;