Now please test your patch combined with the removal of my old "do-not-display-filtered-comments"-code and you've got yourself an entry in the Changelog. Thanks a lot for your help!
Index: src/PartFile.cpp
===================================================================
--- src/PartFile.cpp (revision 8224)
+++ src/PartFile.cpp (working copy)
@@ -3229,6 +3229,9 @@
CUpDownClient* cur_src = *it;
if (!cur_src->GetFileComment().IsEmpty()) {
+ if (thePrefs::IsCommentFiltered(cur_src->GetFileComment())) {
+ continue;
+ }
m_hasComment = true;
}
Index: src/CommentDialogLst.cpp
===================================================================
--- src/CommentDialogLst.cpp (revision 8224)
+++ src/CommentDialogLst.cpp (working copy)
@@ -87,14 +87,12 @@
const FileRatingList &list = m_file->GetRatingAndComments();
for (FileRatingList::const_iterator it = list.begin(); it != list.end(); ++it) {
- if (!thePrefs::IsCommentFiltered(it->Comment)) {
m_list->InsertItem(count, it->UserName);
m_list->SetItem(count, 1, it->FileName);
m_list->SetItem(count, 2, (it->Rating != -1) ? GetRateString(it->Rating) : wxString(wxT("on")));
m_list->SetItem(count, 3, it->Comment);
m_list->SetItemPtrData(count, reinterpret_cast<wxUIntPtr>(new SFileRating(*it)));
++count;
- }
}
wxString info;