mirror of https://github.com/BOINC/boinc.git
- fix message filtering
svn path=/trunk/boinc/; revision=17467
This commit is contained in:
parent
4cca81bedf
commit
f3781a6ff5
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue