From a00f9d0611d7ad687b613183f701902e0df556fb Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Thu, 2 Jan 2020 14:37:43 +0000 Subject: [PATCH] jvcllaz: Fix TJvYearGrid "hiding" pages in a PageControl. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7216 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/jvcllaz/run/JvJans/jvyeargrid.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/jvcllaz/run/JvJans/jvyeargrid.pas b/components/jvcllaz/run/JvJans/jvyeargrid.pas index 4d4948be8..db97236c0 100644 --- a/components/jvcllaz/run/JvJans/jvyeargrid.pas +++ b/components/jvcllaz/run/JvJans/jvyeargrid.pas @@ -1342,7 +1342,7 @@ var NewWidth, NewHeight: Integer; tmp: Integer; begin - if not (csReading in ComponentState) and FAutoSize then + if not (csLoading in ComponentState) and FAutoSize then begin UpdateAllSizes; if aoGrid in AutoSizeOptions then