You've already forked lazarus-ccr
jvcllaz: Fix crash when adding TimeFrame controls at design-time.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7156 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -2664,7 +2664,7 @@ begin
|
|||||||
DrawCellTitleFrame(ACanvas, ATitleRect, Attr);
|
DrawCellTitleFrame(ACanvas, ATitleRect, Attr);
|
||||||
|
|
||||||
// Draw the scroll buttons
|
// Draw the scroll buttons
|
||||||
if Assigned(Cell) then begin
|
if Assigned(Cell) and Assigned(Viewer) then begin
|
||||||
Viewer.SetTo(Cell);
|
Viewer.SetTo(Cell);
|
||||||
DrawScrollButtons(ACanvas, CellScrollBtnRect(ATitleRect));
|
DrawScrollButtons(ACanvas, CellScrollBtnRect(ATitleRect));
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user