From ee33c0c5bb2be609dff48fc19c90d22fb736efbc Mon Sep 17 00:00:00 2001 From: DjLegolas Date: Fri, 20 Sep 2024 11:48:35 +0300 Subject: [PATCH] [3350][GTK] Fix a regression with quick search When one tries to search in the TorrentView, then a little search window appears but does nothing. Ref: https://lazka.github.io/pgi-docs/Gtk-3.0/callbacks.html#Gtk.TreeViewSearchEqualFunc Closes: https://dev.deluge-torrent.org/ticket/3350 Closes: https://github.com/deluge-torrent/deluge/pull/467 --- deluge/ui/gtk3/listview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtk3/listview.py b/deluge/ui/gtk3/listview.py index a80d79507..002c0f824 100644 --- a/deluge/ui/gtk3/listview.py +++ b/deluge/ui/gtk3/listview.py @@ -782,7 +782,7 @@ class ListView: return True - def on_keypress_search_by_name(self, model, column, key, _iter): + def on_keypress_search_by_name(self, model, column, key, _iter, *search_data): torrent_name_col = self.columns[_('Name')].column_indices[1] return not model[_iter][torrent_name_col].lower().startswith(key.lower())