IDE: Scan also "samples" folders in the Example Manager

git-svn-id: trunk@39020 -
This commit is contained in:
juha 2012-10-09 08:26:00 +00:00
parent 4280954cfd
commit 7d0972774d

View File

@ -208,7 +208,7 @@ begin
try
for i:=0 to AllDirs.Count-1 do begin
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
DirectoryComboBox.Items.Add(AllDirs[i]);
end;