summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_editor.cpp
diff options
context:
space:
mode:
authorFrancois Belair <razoric480@gmail.com>2021-04-27 12:53:55 -0400
committerFrancois Belair <razoric480@gmail.com>2021-07-17 11:50:00 -0400
commit7c5335081cbdb6a3dbe2f24855f42d06e8a446fa (patch)
treedccb4923b6d198adc9af1f7dc63bc5d88058e7a4 /modules/gdscript/gdscript_editor.cpp
parent7537875d862837d43e50be2cc14de9d8db8f5fe3 (diff)
downloadredot-engine-7c5335081cbdb6a3dbe2f24855f42d06e8a446fa.tar.gz
Implement didSave notification and rename request
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
-rw-r--r--modules/gdscript/gdscript_editor.cpp1
1 files changed, 1 insertions, 0 deletions
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;