Skip to content

Commit

Permalink
[3350][GTK] Fix a regression with quick search
Browse files Browse the repository at this point in the history
When one tries to search in the TorrentView, then a little search window
appears but does nothing.

Closes: https://dev.deluge-torrent.org/ticket/3350
  • Loading branch information
DjLegolas committed Sep 20, 2024
1 parent 8df36c4 commit 853889f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deluge/ui/gtk3/listview.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def add_texticon_column(

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())

Expand Down

0 comments on commit 853889f

Please sign in to comment.