Fixed TIM displaying;

Fixed "Out of Memory" for Directory Scan;
Optional CLUT viewer;
Other fixes.
This commit is contained in:
meffi@lab313.ru
2014-02-19 18:58:30 +00:00
parent 057405ebfe
commit c3f38c670f
8 changed files with 593 additions and 64 deletions

View File

@@ -169,9 +169,19 @@ begin
UpdateProgressBar;
SetStatusText;
if pScanResult.Count = 0 then Exit;
frmMain.ScanResult.Add(pScanResult);
frmMain.cbbFiles.Items.Add(pScanResult.ScanFile);
if pScanResult.Count = 0 then
begin
pScanResult.Free;
Exit;
end;
if not frmMain.CheckForFileOpened(pScanResult.ScanFile) then
begin
frmMain.ScanResult.Add(pScanResult);
frmMain.cbbFiles.Items.Add(pScanResult.ScanFile);
end
else
pScanResult.Free;
end;
procedure TScanThread.SetStatusText;