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

Merge pull request #109735 from mihe/infinite-doc-regen

Fix/remove error about "Can't update documentation" when saving script
This commit is contained in:
Thaddeus Crews
2025-08-19 10:29:41 -05:00
2 changed files with 2 additions and 4 deletions

View File

@@ -3783,8 +3783,6 @@ bool ScriptEditor::_help_tab_goto(const String &p_name, const String &p_desc) {
}
void ScriptEditor::update_doc(const String &p_name) {
ERR_FAIL_COND_MSG(!EditorHelp::has_doc(p_name), vformat("Can't update documentation for \"%s\".", p_name));
for (int i = 0; i < tab_container->get_tab_count(); i++) {
EditorHelp *eh = Object::cast_to<EditorHelp>(tab_container->get_tab_control(i));
if (eh && eh->get_class() == p_name) {