From 6353f0385b1a7c88c595dc56c15381ad734de40d Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Tue, 28 Oct 2025 22:34:27 -0300 Subject: [PATCH] Update documentation pages when switching themes --- editor/doc/editor_help.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editor/doc/editor_help.cpp b/editor/doc/editor_help.cpp index 7050a98e02..b86c5154fc 100644 --- a/editor/doc/editor_help.cpp +++ b/editor/doc/editor_help.cpp @@ -3315,6 +3315,12 @@ void EditorHelp::_notification(int p_what) { case NOTIFICATION_THEME_CHANGED: { if (is_inside_tree()) { + if (is_visible_in_tree()) { + _update_doc(); + } else { + update_pending = true; + } + _class_desc_resized(true); } update_toggle_files_button();