mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
make sure we don't accidentally open the context menu on a message when we're in multiselect mode.
This commit is contained in:
parent
f90e1f67a3
commit
2ef3b15c87
@ -1496,6 +1496,12 @@ public class MessageList
|
||||
AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo;
|
||||
MessageInfoHolder message = (MessageInfoHolder) mAdapter.getItem(info.position);
|
||||
|
||||
// in multi-select mode, the context menu pops up unintentionally
|
||||
// causes misclicks
|
||||
if (mSelectedWidget == WIDGET_MULTISELECT) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (message == null)
|
||||
{
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user