fix blocker 119202 delete button disabled after deleting message r/sr=sspitzer backing out fix for 118137

This commit is contained in:
bienvenu%netscape.com 2002-01-10 17:14:12 +00:00
Родитель f6fabb7f8c
Коммит 4d9a0dda76
1 изменённых файлов: 0 добавлений и 6 удалений

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

@ -4871,9 +4871,6 @@ nsMsgDBView::OnDeleteCompleted(PRBool aSucceeded)
if (aSucceeded)
{
//freeze selection.
mOutlinerSelection->SetSelectEventsSuppressed(PR_TRUE);
PRInt32 selectionCount;
//selection count cannot be zero, we would not be here
mOutlinerSelection->GetRangeCount(&selectionCount);
@ -4897,9 +4894,6 @@ nsMsgDBView::OnDeleteCompleted(PRBool aSucceeded)
NoteChange(startRangeArray[i], -numRows, nsMsgViewNotificationCode::insertOrDelete);
}
//unfreeze selection.
mOutlinerSelection->SetSelectEventsSuppressed(PR_FALSE);
PR_FREEIF(startRangeArray);
PR_FREEIF(endRangeArray);
}