(svn r23285) -Fix: scanning of content after download didn't work

This commit is contained in:
rubidium 2011-11-20 18:36:54 +00:00
parent 56a2c4b177
commit 0759649478

View File

@ -205,8 +205,7 @@ public:
virtual void OnDownloadProgress(const ContentInfo *ci, int bytes)
{
BaseNetworkContentDownloadStatusWindow::OnDownloadProgress(ci, bytes);
if (ci->id != this->cur_id) this->receivedTypes.Include(ci->type);
this->receivedTypes.Include(ci->type);
/* When downloading is finished change cancel in ok */
if (this->downloaded_bytes == this->total_bytes) {