[RAPPS]
authorAlexander Shaposhnikov <sanchaez@reactos.org>
Wed, 26 Jul 2017 17:27:34 +0000 (17:27 +0000)
committerAlexander Shaposhnikov <sanchaez@reactos.org>
Wed, 26 Jul 2017 17:27:34 +0000 (17:27 +0000)
- A quick fix for counter - used a list that is not updated prior to the message

svn path=/branches/GSoC_2017/rapps/; revision=75413

reactos/base/applications/rapps/gui.cpp

index 0a5a925..3e126eb 100644 (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();
                     }