Fixes Issue 1477
Keep mSelectedCount in sync with the number of selected messages.
This commit is contained in:
parent
488301d03e
commit
3f771474c1
1 changed files with 1 additions and 1 deletions
|
@ -1416,7 +1416,7 @@ public class MessageList
|
|||
{
|
||||
MessageInfoHolder msgInfoHolder = (MessageInfoHolder) mAdapter.getItem(position);
|
||||
|
||||
if (msgInfoHolder != null)
|
||||
if (msgInfoHolder != null && msgInfoHolder.selected != selected)
|
||||
{
|
||||
msgInfoHolder.selected = selected;
|
||||
mSelectedCount += (selected ? 1 : -1);
|
||||
|
|
Loading…
Reference in a new issue