[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
No known key found for this signature in database
GPG key ID: 2033189A662F8BD7

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) {
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();
}