diff --git a/mozilla/mailnews/base/src/nsMsgDBView.cpp b/mozilla/mailnews/base/src/nsMsgDBView.cpp index f1bd8356334..5d6abd45cdd 100644 --- a/mozilla/mailnews/base/src/nsMsgDBView.cpp +++ b/mozilla/mailnews/base/src/nsMsgDBView.cpp @@ -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);