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

git-svn-id: svn://10.0.0.236/trunk@111908 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
naving%netscape.com
2002-01-11 01:05:53 +00:00
parent be41a6dbba
commit 2531b4ded1

View File

@@ -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);