ide: TCodeTemplateEditForm - use CreateNew constructor because it has no resource

git-svn-id: trunk@29277 -
This commit is contained in:
paul 2011-02-01 02:23:27 +00:00
parent 3171f01d02
commit 97ae5619ba

View File

@ -786,7 +786,7 @@ end;
constructor TCodeTemplateEditForm.Create(TheOwner:TComponent);
begin
inherited Create(TheOwner);
inherited CreateNew(TheOwner, 1);
if LazarusResources.Find(ClassName)=nil then begin
Width:=300;
Height:=150;