1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Update ScriptEditor and ShaderEditor Tooltip

fix #32417
This commit is contained in:
Alexander Holland
2019-10-02 11:21:48 +02:00
parent bf1c81adf4
commit 35452e1ab4
2 changed files with 2 additions and 4 deletions

View File

@@ -202,9 +202,7 @@ void ShaderTextEditor::_code_complete_script(const String &p_code, List<ScriptCo
if (err != OK)
ERR_PRINT("Shaderlang complete failed");
if (calltip != "") {
get_text_edit()->set_code_hint(calltip);
}
get_text_edit()->set_code_hint(calltip);
}
void ShaderTextEditor::_validate_script() {