- A quick fix for counter - used a list that is not updated prior to the message

svn path=/branches/GSoC_2017/rapps/; revision=75413
This commit is contained in:
Alexander Shaposhnikov 2017-07-26 17:27:34 +00:00
parent ec9d05004b
commit 9b5e78353a

View file

@ -1023,7 +1023,7 @@ private:
/* Check if the item is checked */
if ((pnic->uNewState & LVIS_STATEIMAGEMASK) && !bUpdating)
{
BOOL checked = m_ListView->GetCheckState(pnic->iItem);
BOOL checked = ListView_GetCheckState(pnic->hdr.hwndFrom, pnic->iItem);
nSelectedApps += (checked) ? 1 : -1;
UpdateStatusBarText();
}