mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 16:41:26 +02:00
parent
d57ba4becb
commit
90d0441b14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user