IDE: small editing for UseUnit dialog.

git-svn-id: trunk@35337 -
This commit is contained in:
juha 2012-02-12 20:49:19 +00:00
parent 68e8da87aa
commit 0e6dea9e3e

View File

@ -212,7 +212,7 @@ begin
Canvas.FillRect(ARect);
ena := not Assigned(Items.Objects[Index]) or (Items.Objects[Index] is TCodeTreeNode);
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);
if Items.Objects[Index] is TCodeTreeNode then
begin