mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:19:22 +02:00
IDE: unit dependencies: fixed crash on refresh: bug #13501, from Alexander S. Klenin
git-svn-id: trunk@19559 -
This commit is contained in:
parent
4f1c322f14
commit
2d75d65468
@ -284,7 +284,7 @@ var
|
||||
begin
|
||||
if Stage<>cdPostPaint then exit;
|
||||
UnitNode:=TUnitNode(Node.Data);
|
||||
if UnitNode.IsFirstImplementationNode then begin
|
||||
if (UnitNode<>nil) and UnitNode.IsFirstImplementationNode then begin
|
||||
NodeRect:=Node.DisplayRect(false);
|
||||
NodeRect.Left:=Node.DisplayStateIconLeft;
|
||||
with Node.TreeView.Canvas do begin
|
||||
|
Loading…
Reference in New Issue
Block a user