diff --git a/ide/frames/componentpalette_options.pas b/ide/frames/componentpalette_options.pas index c16ae695a5..59bb148c66 100644 --- a/ide/frames/componentpalette_options.pas +++ b/ide/frames/componentpalette_options.pas @@ -503,11 +503,8 @@ begin if Comp is TPkgComponent then begin CurIcon := TPkgComponent(Comp).Icon; if CurIcon<>nil then - begin Sender.Canvas.Draw(ARect.Left+(25-CurIcon.Width) div 2, ARect.Top+(ARect.Bottom-ARect.Top-CurIcon.Height) div 2, CurIcon); - DefaultDraw := False; - end; end; end;