Prevents segfault on _class_desc_resized at exit

This commit is contained in:
Yuri Roubinsky 2019-10-22 16:01:11 +03:00
parent 2906cef290
commit d7d72aeeec

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