1
0
Fork 0

[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
1 changed files with 1 additions and 1 deletions

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