mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 10:40:11 -05:00
make batch buttons behave correctly if the last selected item is deleted
while in a messageview
This commit is contained in:
parent
b0de9913e0
commit
ccc9a99d94
@ -2266,6 +2266,11 @@ public class MessageList
|
||||
MessageInfoHolder holder = iter.next();
|
||||
if (holder.dirty)
|
||||
{
|
||||
if (holder.selected)
|
||||
{
|
||||
mSelectedCount--;
|
||||
toggleBatchButtons();
|
||||
}
|
||||
iter.remove();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user