Fix doc theme not changing when its hidding

(cherry picked from commit 9a5cce35e6)
This commit is contained in:
Yuri Roubinsky 2021-04-11 13:29:35 +03:00 committed by Rémi Verschelde
parent 3756fbd463
commit 8d06dd4371
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1456,7 +1456,7 @@ void EditorHelp::_notification(int p_what) {
_update_doc();
} break;
case NOTIFICATION_THEME_CHANGED: {
if (is_visible_in_tree()) {
if (is_inside_tree()) {
_class_desc_resized();
}
} break;