- fix message filtering

svn path=/trunk/boinc/; revision=17467
This commit is contained in:
David Anderson 2009-03-03 22:30:52 +00:00
parent 4cca81bedf
commit f3781a6ff5
1 changed files with 2 additions and 2 deletions

View File

@ -288,12 +288,12 @@ void CViewMessages::OnMessagesFilter( wxCommandEvent& WXUNUSED(event) ) {
m_bIsFiltered = true;
for (iIndex = 0; iIndex < m_iTotalDocCount; iIndex++) {
message = wxGetApp().GetDocument()->message(iIndex);
if (message->project == m_strFilteredProjectName) {
if (message->project.empty() || (message->project == m_strFilteredProjectName)) {
m_iFilteredIndexes.Add(iIndex);
}
}
m_iFilteredDocCount = (int)(m_iFilteredIndexes.GetCount());
m_iFilteredDocCount = (int)(m_iFilteredIndexes.GetCount());
}
}
}