summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThakee Nathees <thakeenathees@gmail.com>2020-08-13 17:35:17 +0530
committerThakee Nathees <thakeenathees@gmail.com>2020-08-13 17:35:17 +0530
commitc6dc73f9becf1b3f6ff09da127c04f1a795a7fc6 (patch)
treedf337328a10d8911cbaad082d17fce092a227dff
parentec678c5e94ac1c91c099c15fabc398e80ede7bfe (diff)
Fix: ctrl + click not working
-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 239015060e..67482a4906 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -2762,6 +2762,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;
}