You've already forked lazarus-ccr
tvplanit: Fix Ganttview crash at designtime introduced by previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -982,7 +982,7 @@ var
|
||||
begin
|
||||
inherited;
|
||||
|
||||
if (FRowHeight > 0) and (FEventRecords.Count > 0) then
|
||||
if (FRowHeight > 0) and Assigned(FEventRecords) and (FEventRecords.Count > 0) then
|
||||
begin
|
||||
VisibleRows := CalcVisibleRows(ClientHeight, FTotalColHeaderHeight, FRowHeight);
|
||||
emptyRows := VisibleRows - (FEventRecords.Count - FTopRow);
|
||||
|
Reference in New Issue
Block a user