fix for #75052. get "flagged" to stick for imap. sr=bienvenu

This commit is contained in:
sspitzer%netscape.com 2001-04-10 07:11:32 +00:00
Родитель 5906063c28
Коммит f979035f27
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1023,9 +1023,9 @@ NS_IMETHODIMP nsMsgDBView::CycleCell(PRInt32 row, const PRUnichar *colID)
case 'f': // flagged column
// toggle the flagged status of the element at row.
if (m_flags[row] & MSG_FLAG_MARKED)
SetFlaggedByIndex(row, PR_FALSE);
ApplyCommandToIndices(nsMsgViewCommandType::unflagMessages, (nsMsgViewIndex *) &row, 1);
else
SetFlaggedByIndex(row, PR_TRUE);
ApplyCommandToIndices(nsMsgViewCommandType::flagMessages, (nsMsgViewIndex *) &row, 1);
break;
default:
break;