summaryrefslogtreecommitdiff
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index e4f64597b1..690538f44c 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -1468,8 +1468,9 @@ void EditorHelp::_notification(int p_what) {
_update_doc();
} break;
case NOTIFICATION_THEME_CHANGED: {
-
- _class_desc_resized();
+ if (is_visible_in_tree()) {
+ _class_desc_resized();
+ }
} break;
default: break;
}