The template project is also configured as a startup project in the options:
IDE Options > Environment > IDE Startup > combobox "New Project Type".
But if you can/want to change the IDE sources, then it is enough to add the
line "AProject.Flags := AProject.Flags + [pfSaveOnlyProjectUnits];" to the
"TProjectSimpleProgramDescriptor.InitProject" method of the
"ide/projectdescriptortypes.pas" unit.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus