mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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
|
return
|
||||||
|
|
||||||
torrent_id = model.get_value(row, 0)
|
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
|
# Condition is True, so lets show this row, if not we hide it
|
||||||
if value == condition:
|
if value == condition:
|
||||||
model.set_value(row, filter_column, True)
|
model.set_value(row, filter_column, True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue