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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user