Icon resource attached to new component (Package->Add New Component) default missing "T"
Original Reporter info from Mantis: Hansaplast
-
Reporter name: Hans Luijten
Original Reporter info from Mantis: Hansaplast
- Reporter name: Hans Luijten
Description:
When adding a new component to a package;
Package -> New Component -> Click icon placeholder -> select 24x24 PNG
Creates a LRS file, however without the "T" in front of the resource name, which makes it not show in the component palette bar after installing and shows the default component icon instead.
The file starts with:
LazarusResources.Add('MyNewComponent','PNG',[
But should start with:
LazarusResources.Add('TMyNewComponent','PNG',[
(The "T" in front of the component name)
Additional information:
Mac OS X 10.8.2,
Lazarus 1.0 rexported FPC 2.6.0 i386-darwin-carbon
Mantis conversion info:
- Mantis ID: 23075
- Version: 1.0.0
- Fixed in revision: r38989 (#07e31312)