diff options
| author | UnDeviato <fevola.davide@gmail.com> | 2024-05-27 14:30:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-27 07:30:47 -0500 |
| commit | 7bce22662719ad70fac7e6f5acf913c14965d47e (patch) | |
| tree | 6e4e82293ffb3fa8e339c68975cf694784d0416b | |
| parent | 67d5646d7c58eb0700d262672c5cf009d90969bf (diff) | |
Searching by categories (#968)
* Searching by categories
* Fix mistake
---------
Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
| -rw-r--r-- | src/charselect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp index bc4032fb..8bce410a 100644 --- a/src/charselect.cpp +++ b/src/charselect.cpp @@ -365,7 +365,7 @@ void Courtroom::filter_character_list() continue; } - if (!char_list.at(i).name.contains(ui_char_search->text(), Qt::CaseInsensitive)) + if (!char_list.at(i).name.contains(ui_char_search->text(), Qt::CaseInsensitive) && !ao_app->get_category(char_list.at(i).name).contains(ui_char_search->text(), Qt::CaseInsensitive)) { current_char_list_item->setHidden(true); continue; |
