ide: fixed typo (#0012630)

git-svn-id: trunk@17391 -
This commit is contained in:
paul 2008-11-14 16:59:26 +00:00
parent d57ba4becb
commit 90d0441b14

View File

@ -2338,7 +2338,7 @@ var
Desc: TProjectFileDescriptor;
begin
Category:=NewIDEItems.FindByName(FileDescGroupName);
Template:=Category.FindTemplateByName(EnvironmentOptions.NewUnitTemplate);
Template:=Category.FindTemplateByName(EnvironmentOptions.NewFormTemplate);
if (Template is TNewItemProjectFile) and Template.VisibleInNewDialog then
Desc:=TNewItemProjectFile(Template).Descriptor
else