From 43787600a1175df2642b06c631a4e09e46c8e460 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 2 Mar 2018 17:49:20 +0100 Subject: [PATCH] fix LFM not reloadable due to tlbr --- src/ce_dsgncontrols.pas | 3 +++ 1 file changed, 3 insertions(+) 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;