re-fix #72256. now that AdjustSelection() is working, inappropriately calling RowCountChange() will mess up the selection. (I'm the champ who added the inappropriate call.) sr=bienvenu

git-svn-id: svn://10.0.0.236/trunk@91026 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2001-04-02 05:30:39 +00:00
parent fd11d7c8e4
commit 2a3f8fcaa3

View File

@@ -968,13 +968,9 @@ NS_IMETHODIMP nsMsgDBView::SetOutliner(nsIOutlinerBoxObject *outliner)
NS_IMETHODIMP nsMsgDBView::ToggleOpenState(PRInt32 index)
{
PRUint32 numChanged = 0;
PRInt32 multiplier = -1;
if (m_flags[index] & MSG_FLAG_ELIDED)
multiplier = 1;
PRUint32 numChanged;
nsresult rv = ToggleExpansion(index, &numChanged);
NS_ENSURE_SUCCESS(rv,rv);
mOutliner->RowCountChanged(index, numChanged * multiplier);
return NS_OK;
}