(svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should

This commit is contained in:
rubidium 2009-11-25 17:48:44 +00:00
parent 93ef16c520
commit 6941db6c39
1 changed files with 2 additions and 0 deletions

View File

@ -757,6 +757,8 @@ public:
virtual void OnInvalidateData(int data)
{
if (this->content.NeedRebuild()) this->BuildContentList();
/* To sum all the bytes we intend to download */
this->filesize_sum = 0;
bool show_select_all = false;