Skip to content

Commit e5e2c06

Browse files
committed
Merge pull request #112141 from YeldhamDev/whats_up_doc
Update documentation pages when switching themes
2 parents 84e713c + 6353f03 commit e5e2c06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

editor/doc/editor_help.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3315,6 +3315,12 @@ void EditorHelp::_notification(int p_what) {
33153315

33163316
case NOTIFICATION_THEME_CHANGED: {
33173317
if (is_inside_tree()) {
3318+
if (is_visible_in_tree()) {
3319+
_update_doc();
3320+
} else {
3321+
update_pending = true;
3322+
}
3323+
33183324
_class_desc_resized(true);
33193325
}
33203326
update_toggle_files_button();

0 commit comments

Comments
 (0)