Merge pull request #92386 from AThousandShips/goto_fix

[GDScript LSP] Fix `show_native_symbol_in_editor`
This commit is contained in:
Rémi Verschelde 2024-05-30 22:13:46 +02:00
commit 34fe09dda7
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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