mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix labels.
This commit is contained in:
parent
0f7a91797f
commit
42b5f6872c
1 changed files with 4 additions and 1 deletions
|
@ -271,7 +271,10 @@ class TorrentView(listview.ListView, component.Component):
|
|||
return
|
||||
|
||||
torrent_id = model.get_value(row, 0)
|
||||
value = client.get_torrent_status(torrent_id, [field])[field]
|
||||
try:
|
||||
value = self.status[torrent_id][field]
|
||||
except:
|
||||
return
|
||||
# Condition is True, so lets show this row, if not we hide it
|
||||
if value == condition:
|
||||
model.set_value(row, filter_column, True)
|
||||
|
|
Loading…
Add table
Reference in a new issue