зеркало из https://github.com/mozilla/gecko-dev.git
fix for #75052. get "flagged" to stick for imap. sr=bienvenu
This commit is contained in:
Родитель
5906063c28
Коммит
f979035f27
|
@ -1023,9 +1023,9 @@ NS_IMETHODIMP nsMsgDBView::CycleCell(PRInt32 row, const PRUnichar *colID)
|
||||||
case 'f': // flagged column
|
case 'f': // flagged column
|
||||||
// toggle the flagged status of the element at row.
|
// toggle the flagged status of the element at row.
|
||||||
if (m_flags[row] & MSG_FLAG_MARKED)
|
if (m_flags[row] & MSG_FLAG_MARKED)
|
||||||
SetFlaggedByIndex(row, PR_FALSE);
|
ApplyCommandToIndices(nsMsgViewCommandType::unflagMessages, (nsMsgViewIndex *) &row, 1);
|
||||||
else
|
else
|
||||||
SetFlaggedByIndex(row, PR_TRUE);
|
ApplyCommandToIndices(nsMsgViewCommandType::flagMessages, (nsMsgViewIndex *) &row, 1);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче