mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
fix filter after the fact not to have cumulative matches, r/sr=sspitzer, 168551
This commit is contained in:
parent
7ae5c1cecb
commit
e100152246
@ -471,6 +471,7 @@ NS_IMETHODIMP nsMsgFilterAfterTheFact::OnSearchDone(nsresult status)
|
||||
NS_IMETHODIMP nsMsgFilterAfterTheFact::OnNewSearch()
|
||||
{
|
||||
m_searchHits.RemoveAll();
|
||||
m_searchHitHdrs->Clear();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@ -556,7 +557,7 @@ nsresult nsMsgFilterAfterTheFact::ApplyFilter()
|
||||
}
|
||||
nsCOMPtr<nsIMsgCopyService> copyService = do_GetService(NS_MSGCOPYSERVICE_CONTRACTID, &rv);
|
||||
if (copyService)
|
||||
return copyService->CopyMessages(m_curFolder, m_searchHitHdrs, destIFolder, PR_TRUE, this, m_msgWindow, PR_FALSE);
|
||||
return copyService->CopyMessages(m_curFolder, m_searchHitHdrs, destIFolder, PR_TRUE, this, m_msgWindow, PR_FALSE);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user