118137 r=bienvenu sr=sspitzer. fix crash upon deleting large number of messages.

This commit is contained in:
naving%netscape.com 2002-01-11 01:05:53 +00:00
Родитель 673acbe7a2
Коммит 54f69f81fa
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -887,7 +887,11 @@ NS_IMETHODIMP nsMsgDBView::LoadMessageByMsgKey(nsMsgKey aMsgKey)
NS_IMETHODIMP nsMsgDBView::SelectionChanged()
{
// if the currentSelection changed then we have a message to display
// if the currentSelection changed then we have a message to display - not if we are in the middle of deleting rows
if (m_deletingRows)
return NS_OK;
PRUint32 numSelected = 0;
GetNumSelected(&numSelected);