diff options
author | George Marques <george@gmarqu.es> | 2020-08-13 10:25:46 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 10:25:46 -0300 |
commit | adc1f95d975c2f7c8c2c2120131364691d384dd9 (patch) | |
tree | 0a1b2110858f8896c7d8e7050072886ece879526 | |
parent | 9a56f82495ad6e81979d2dd398addc86969f1ce3 (diff) | |
parent | c6dc73f9becf1b3f6ff09da127c04f1a795a7fc6 (diff) |
Merge pull request #41224 from ThakeeNathees/fix-ctrl+click-not-working
Fix: ctrl + click not working on script member
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 1fdce6eeeb..88bf8cde0f 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -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; } |