diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2024-10-10 13:45:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-10 13:45:40 +0200 |
| commit | 71434efaa98eff5bf6182b5151a367be61522474 (patch) | |
| tree | ef381390e6ffa0f0424074f77a6bf867c44cf45b | |
| parent | 8f1dbe9f3546d685aca84a12476d564a04eeb7aa (diff) | |
Include notes in search when filtering mods if the column is enabled (#2139)
| -rw-r--r-- | src/modlistsortproxy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modlistsortproxy.cpp b/src/modlistsortproxy.cpp index 704ec10b..3cc7de40 100644 --- a/src/modlistsortproxy.cpp +++ b/src/modlistsortproxy.cpp @@ -460,7 +460,8 @@ bool ModListSortProxy::filterMatchesMod(ModInfo::Ptr info, bool enabled) const // Search by notes if (!foundKeyword && m_EnabledColumns[ModList::COL_NOTES] && - info->comments().contains(currentKeyword, Qt::CaseInsensitive)) { + (info->notes().contains(currentKeyword, Qt::CaseInsensitive) || + info->comments().contains(currentKeyword, Qt::CaseInsensitive))) { foundKeyword = true; } |
