зеркало из https://github.com/mozilla/pjs.git
fix blocker 119202 delete button disabled after deleting message r/sr=sspitzer backing out fix for 118137
This commit is contained in:
Родитель
f6fabb7f8c
Коммит
4d9a0dda76
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче