From 3359b0fd975fc2b53631dd7110254f4e2df02a12 Mon Sep 17 00:00:00 2001 From: ooa113y <13thSlayer@gmail.com> Date: Thu, 24 Jun 2021 03:21:52 +0300 Subject: [PATCH] Improve gameTable search (#2398) * Improve gameTable search * Remove useless split * Remove unneeded brackets * Simplify searchEqualFunc Co-authored-by: Ac_K * Remove leftovers (oops) Co-authored-by: Ac_K --- Ryujinx/Ui/MainWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index 50c5725f4..9eb6f3035 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -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();