mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 00:25:10 -04:00
Fixes Issue 1477
Keep mSelectedCount in sync with the number of selected messages.
This commit is contained in:
parent
488301d03e
commit
3f771474c1
@ -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 New Issue
Block a user