diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 753ed209336..4c934104d19 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1067,7 +1067,7 @@ Ref CodeTextEditor::_get_completion_icon(const ScriptLanguage::CodeCo tex = get_editor_theme_icon(SNAME("NodePath")); break; case ScriptLanguage::CODE_COMPLETION_KIND_VARIABLE: - tex = get_editor_theme_icon(SNAME("Variant")); + tex = get_editor_theme_icon(SNAME("LocalVariable")); break; case ScriptLanguage::CODE_COMPLETION_KIND_CONSTANT: tex = get_editor_theme_icon(SNAME("MemberConstant")); diff --git a/editor/icons/LocalVariable.svg b/editor/icons/LocalVariable.svg new file mode 100644 index 00000000000..194a34d9d46 --- /dev/null +++ b/editor/icons/LocalVariable.svg @@ -0,0 +1 @@ + \ No newline at end of file