mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
parent
bf1c81adf4
commit
35452e1ab4
2 changed files with 2 additions and 4 deletions
|
|
@ -814,7 +814,7 @@ void ScriptTextEditor::_code_complete_script(const String &p_code, List<ScriptCo
|
|||
}
|
||||
String hint;
|
||||
Error err = script->get_language()->complete_code(p_code, script->get_path(), base, r_options, r_force, hint);
|
||||
if (err == OK && hint != "") {
|
||||
if (err == OK) {
|
||||
code_editor->get_text_edit()->set_code_hint(hint);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue