Fixed multiple files scanning. Fixed Select directory dialog.

This commit is contained in:
DrMefistO
2015-08-05 00:33:40 +03:00
parent 735282f129
commit 5b52c9ca1e
4 changed files with 8 additions and 12 deletions

View File

@@ -660,7 +660,7 @@ begin
FreeTIM(TIM);
Exit;
end;
//Writeln('X=',aCol, '; Y=',aRow);
DrawClutCell(TIM, cbbCLUT.ItemIndex, @grdClut, ACol, ARow);
FreeTIM(TIM);
@@ -796,6 +796,8 @@ begin
ScanThreads.Last.Priority := tpNormal;
ScanThreads.Last.OnTerminate := @ScanFinished;
ScanThreads.Pack;
if StartedScans < GetLogicalCpuCount then
begin
BeforeScan(ScanThreads.Last.FileLength);