summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server/gdscript_text_document.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-26 16:33:19 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-26 16:33:19 +0200
commite6ab22d45065fabf4d4ee52bcfca512aacbf158b (patch)
treea2e40f7a58152f9db57196a097ea7515b1edc0dd /modules/gdscript/language_server/gdscript_text_document.cpp
parentbe56cab58c056c074d1e02cd0b38641204e39f41 (diff)
downloadredot-engine-e6ab22d45065fabf4d4ee52bcfca512aacbf158b.tar.gz
[GDScript LSP] Fix `show_native_symbol_in_editor`
Diffstat (limited to 'modules/gdscript/language_server/gdscript_text_document.cpp')
-rw-r--r--modules/gdscript/language_server/gdscript_text_document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/language_server/gdscript_text_document.cpp b/modules/gdscript/language_server/gdscript_text_document.cpp
index 9bf458e031..2224bb0040 100644
--- a/modules/gdscript/language_server/gdscript_text_document.cpp
+++ b/modules/gdscript/language_server/gdscript_text_document.cpp
@@ -490,7 +490,7 @@ void GDScriptTextDocument::sync_script_content(const String &p_path, const Strin
}
void GDScriptTextDocument::show_native_symbol_in_editor(const String &p_symbol_id) {
- ScriptEditor::get_singleton()->call_deferred(SNAME("_help_class_goto"), p_symbol_id);
+ callable_mp(ScriptEditor::get_singleton(), &ScriptEditor::goto_help).call_deferred(p_symbol_id);
DisplayServer::get_singleton()->window_move_to_foreground();
}