[v8] Custom Curve Preview bug - does not draw curves after load/save

Similar problem here : the "Custom curve Preview component randomly “forgets” which linetype was previously selected and the component is orange when I re-open the file.

Also, if I input a text with the name of the linetype, then the thickness that was set in the said linetype is ignored.

To summarize : this component sucks.