From 2a3f8fcaa39d249cee2f6cfa358ad8664bf740eb Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Mon, 2 Apr 2001 05:30:39 +0000 Subject: [PATCH] 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 --- mozilla/mailnews/base/src/nsMsgDBView.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mozilla/mailnews/base/src/nsMsgDBView.cpp b/mozilla/mailnews/base/src/nsMsgDBView.cpp index 78da9dd4306..a332b5e7766 100644 --- a/mozilla/mailnews/base/src/nsMsgDBView.cpp +++ b/mozilla/mailnews/base/src/nsMsgDBView.cpp @@ -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; }