1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

[GDScript LSP] Fix show_native_symbol_in_editor

This commit is contained in:
A Thousand Ships
2024-05-26 16:33:19 +02:00
parent be56cab58c
commit e6ab22d450

View File

@@ -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) { 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(); DisplayServer::get_singleton()->window_move_to_foreground();
} }