kasemir / org.csstudio.display.builder

Update of org.csstudio.opibuilder.*
Eclipse Public License 1.0
2 stars 10 forks source link

Don't use image cache in edit mode. #477

Closed claudio-rosati closed 5 years ago

claudio-rosati commented 5 years ago

Picture and Symbol widgets use an image cache to speed up (re)loading of OPI using the same image.

In edit mode, if you assign an image to a Picture widget and then update the image itself, reloading the OPI doesn't work because the Picture widget is now using the cached image.

I've fixed this problem removing the images from the cache when loading a Picture and Symbol widgets.