diff options
| -rw-r--r-- | UCoreWorkers.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UCoreWorkers.pas b/UCoreWorkers.pas index 8ded910..6eabc1e 100644 --- a/UCoreWorkers.pas +++ b/UCoreWorkers.pas @@ -542,7 +542,7 @@ begin if (not UpDir) and Selected then InputFiles.Add(CurrPath + String(FName)); // If not files are selected, take into the account current active item - if (AList.Count = 0) and Assigned(SelectedItem) and (not SelectedItem^.UpDir) then + if (InputFiles.Count = 0) and Assigned(SelectedItem) and (not SelectedItem^.UpDir) then InputFiles.Add(CurrPath + String(SelectedItem^.FName)); FillDirFiles(Engine, AList, InputFiles, DoNotRecurse, True); |
