1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #41224 from ThakeeNathees/fix-ctrl+click-not-working

Fix: ctrl + click not working on script member
This commit is contained in:
George Marques
2020-08-13 10:25:46 -03:00
committed by GitHub

View File

@@ -2765,6 +2765,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();
return OK;
}
base_type = base_type.class_type->base_type;
}