mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 10:59:07 +02:00
IDE: Scan also "samples" folders in the Example Manager
git-svn-id: trunk@39020 -
This commit is contained in:
parent
4280954cfd
commit
7d0972774d
@ -208,7 +208,7 @@ begin
|
|||||||
try
|
try
|
||||||
for i:=0 to AllDirs.Count-1 do begin
|
for i:=0 to AllDirs.Count-1 do begin
|
||||||
LastDir:=ExtractFileName(AllDirs[i]);
|
LastDir:=ExtractFileName(AllDirs[i]);
|
||||||
if (ExamplesCheckBox.Checked and (LastDir='examples'))
|
if (ExamplesCheckBox.Checked and ((LastDir='examples') or (LastDir='samples')))
|
||||||
or (TestCaseCheckBox.Checked and (LastDir='tests')) then
|
or (TestCaseCheckBox.Checked and (LastDir='tests')) then
|
||||||
DirectoryComboBox.Items.Add(AllDirs[i]);
|
DirectoryComboBox.Items.Add(AllDirs[i]);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user