mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 22:36:25 +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.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 New Issue
Block a user