mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-03 12:30:45 +00:00
Fix labels.
This commit is contained in:
parent
0f7a91797f
commit
42b5f6872c
@ -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…
x
Reference in New Issue
Block a user