mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-07 22:48:36 +00:00
Improve gameTable search (#2398)
* Improve gameTable search * Remove useless split * Remove unneeded brackets * Simplify searchEqualFunc Co-authored-by: Ac_K <Acoustik666@gmail.com> * Remove leftovers (oops) Co-authored-by: Ac_K <Acoustik666@gmail.com>
This commit is contained in:
parent
77aab9aca3
commit
3359b0fd97
|
@ -230,6 +230,7 @@ namespace Ryujinx.Ui
|
|||
|
||||
_gameTable.EnableSearch = true;
|
||||
_gameTable.SearchColumn = 2;
|
||||
_gameTable.SearchEqualFunc = (model, col, key, iter) => !((string)model.GetValue(iter, col)).Contains(key, StringComparison.InvariantCultureIgnoreCase);
|
||||
|
||||
UpdateColumns();
|
||||
UpdateGameTable();
|
||||
|
|
Loading…
Reference in a new issue