Merge pull request #32985 from Chaosus/fix_bug

Prevents segfault on _class_desc_resized at exit
This commit is contained in:
Rémi Verschelde 2019-10-22 18:42:46 +02:00 committed by GitHub
commit b6dea9469c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}