1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

When we've entered "selection mode" actually make sure we _show_ the

selected-item check mark.
This commit is contained in:
Jesse Vincent 2010-01-17 05:52:22 +00:00
parent ff9251b6b8
commit f3275a8473

View File

@ -308,18 +308,18 @@ public class MessageList
mController.loadMoreMessages(mAccount, mFolderName, mAdapter.mListener);
return;
}
else if (mSelectedCount > 0)
MessageInfoHolder message = (MessageInfoHolder) mAdapter.getItem(position);
if (mSelectedCount > 0)
{
// In multiselect mode make sure that clicking on the item results in
// toggling the 'selected' checkbox
CheckBox selected = (CheckBox) v.findViewById(R.id.selected_checkbox);
selected.setChecked(!selected.isChecked());
toggleBatchButtons();
setSelected(message, !message.selected);
return;
}
else
{
MessageInfoHolder message = (MessageInfoHolder) mAdapter.getItem(position);
onOpenMessage(message);
return;
}