fix problems with selection going into and returning out of quick search, r=naving, sr=sspitzer 132117 and 132171

This commit is contained in:
bienvenu%netscape.com 2002-03-26 00:53:18 +00:00
parent c23656f8be
commit facf1d3a32

View File

@ -844,7 +844,8 @@ nsMsgThreadedDBView::OnNewSearch()
m_keys.RemoveAll();
m_levels.RemoveAll();
m_flags.RemoveAll();
m_currentlyDisplayedMsgKey = nsMsgKey_None; // need to clear this, so we won't restore it.
// this needs to happen after we remove all the keys, since RowCountChanged() will call our GetRowCount()
if (mOutliner)
mOutliner->RowCountChanged(0, -oldSize);