mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 17:49:14 +02:00
ide: exclude Frames from auto-create form lists
git-svn-id: trunk@17724 -
This commit is contained in:
parent
b2f0f7e4b9
commit
f4b0e4ce40
@ -42,7 +42,7 @@ uses
|
||||
IDEWindowIntf, IDEImagesIntf, ProjectIntf, IDEDialogs,
|
||||
IDEOptionDefs, LazarusIDEStrConsts, Project, IDEProcs, W32VersionInfo,
|
||||
VersionInfoAdditionalInfo, W32Manifest, ApplicationBundle, ExtDlgs,
|
||||
ButtonPanel, ComCtrls, Math;
|
||||
ButtonPanel, ComCtrls, Math, PackageDefs;
|
||||
|
||||
type
|
||||
|
||||
@ -718,6 +718,7 @@ begin
|
||||
for i := 0 to FProject.UnitCount - 1 do
|
||||
if (FProject.Units[i].IsPartOfProject) and
|
||||
(FProject.Units[i].ComponentName <> '') and
|
||||
(FProject.Units[i].ResourceBaseClass in [pfcbcForm, pfcbcDataModule]) and
|
||||
(IndexOfAutoCreateForm(FProject.Units[i].ComponentName) < 0) then
|
||||
sl.Add(FProject.Units[i].ComponentName);
|
||||
sl.Sort;
|
||||
|
Loading…
Reference in New Issue
Block a user