You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Merge pull request #100707 from dalexeev/editor-restore-old-ctrl-click
Editor: Restore old `Ctrl+Click` behavior
This commit is contained in:
@@ -971,7 +971,7 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c
|
|||||||
} else if (lc_error == OK) {
|
} else if (lc_error == OK) {
|
||||||
_goto_line(p_row);
|
_goto_line(p_row);
|
||||||
|
|
||||||
if (!result.class_name.is_empty() && EditorHelp::get_doc_data()->class_list.has(result.class_name)) {
|
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) {
|
||||||
switch (result.type) {
|
switch (result.type) {
|
||||||
case ScriptLanguage::LOOKUP_RESULT_CLASS: {
|
case ScriptLanguage::LOOKUP_RESULT_CLASS: {
|
||||||
emit_signal(SNAME("go_to_help"), "class_name:" + result.class_name);
|
emit_signal(SNAME("go_to_help"), "class_name:" + result.class_name);
|
||||||
|
|||||||
Reference in New Issue
Block a user