Browse Source

Update completion menu even if no options exist

HolonProduction 2 years ago
parent
commit
46197cec74
1 changed files with 0 additions and 3 deletions
  1. 0 3
      editor/code_editor.cpp

+ 0 - 3
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;