From 7c5335081cbdb6a3dbe2f24855f42d06e8a446fa Mon Sep 17 00:00:00 2001 From: Francois Belair Date: Tue, 27 Apr 2021 12:53:55 -0400 Subject: Implement didSave notification and rename request --- modules/gdscript/gdscript_editor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdscript/gdscript_editor.cpp') diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index c1a7bedbc8..dad0aa322f 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2799,6 +2799,7 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co if (base_type.class_type->has_member(p_symbol)) { r_result.type = ScriptLanguage::LookupResult::RESULT_SCRIPT_LOCATION; r_result.location = base_type.class_type->get_member(p_symbol).get_line(); + r_result.class_path = base_type.script_path; return OK; } base_type = base_type.class_type->base_type; -- cgit v1.2.3