mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 14:39:06 +02:00
IDE: small editing for UseUnit dialog.
git-svn-id: trunk@35337 -
This commit is contained in:
parent
68e8da87aa
commit
0e6dea9e3e
@ -212,7 +212,7 @@ begin
|
|||||||
Canvas.FillRect(ARect);
|
Canvas.FillRect(ARect);
|
||||||
ena := not Assigned(Items.Objects[Index]) or (Items.Objects[Index] is TCodeTreeNode);
|
ena := not Assigned(Items.Objects[Index]) or (Items.Objects[Index] is TCodeTreeNode);
|
||||||
if not (ena or (odSelected in State)) then
|
if not (ena or (odSelected in State)) then
|
||||||
UnitsListBox.Canvas.Font.Color := clGreen;
|
Canvas.Font.Color := clGreen;
|
||||||
IDEImages.Images_16.Draw(Canvas, 1, ARect.Top, UnitImgInd, ena);
|
IDEImages.Images_16.Draw(Canvas, 1, ARect.Top, UnitImgInd, ena);
|
||||||
if Items.Objects[Index] is TCodeTreeNode then
|
if Items.Objects[Index] is TCodeTreeNode then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user