Skip to content

Commit 3df8eb5

Browse files
committed
Merge pull request #100707 from dalexeev/editor-restore-old-ctrl-click
Editor: Restore old `Ctrl+Click` behavior
2 parents 08d4dd7 + b8dfe2c commit 3df8eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/plugins/script_text_editor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c
971971
} else if (lc_error == OK) {
972972
_goto_line(p_row);
973973

974-
if (!result.class_name.is_empty() && EditorHelp::get_doc_data()->class_list.has(result.class_name)) {
974+
if (!result.class_name.is_empty() && EditorHelp::get_doc_data()->class_list.has(result.class_name) && !EditorHelp::get_doc_data()->class_list[result.class_name].is_script_doc) {
975975
switch (result.type) {
976976
case ScriptLanguage::LOOKUP_RESULT_CLASS: {
977977
emit_signal(SNAME("go_to_help"), "class_name:" + result.class_name);

0 commit comments

Comments
 (0)