mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 06:55:48 +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
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ namespace Ryujinx.Ui
|
||||||
|
|
||||||
_gameTable.EnableSearch = true;
|
_gameTable.EnableSearch = true;
|
||||||
_gameTable.SearchColumn = 2;
|
_gameTable.SearchColumn = 2;
|
||||||
|
_gameTable.SearchEqualFunc = (model, col, key, iter) => !((string)model.GetValue(iter, col)).Contains(key, StringComparison.InvariantCultureIgnoreCase);
|
||||||
|
|
||||||
UpdateColumns();
|
UpdateColumns();
|
||||||
UpdateGameTable();
|
UpdateGameTable();
|
||||||
|
|
Loading…
Reference in a new issue