1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

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: {
if (is_visible_in_tree()) {
_class_desc_resized();
}
} break;
default: break;
}