diff --git a/src/ce_dsgncontrols.pas b/src/ce_dsgncontrols.pas index 54c42e6a..36382e09 100644 --- a/src/ce_dsgncontrols.pas +++ b/src/ce_dsgncontrols.pas @@ -110,6 +110,9 @@ var n: string; h: integer; begin + if csDesigning in ComponentState then + exit; + fPng.FreeImage; fDPng.FreeImage;