mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-21 09:38:44 +00:00
Fix torrents not showing up in list until changing filters.
This commit is contained in:
parent
b32c7de968
commit
7303e52ae6
1 changed files with 2 additions and 0 deletions
|
@ -356,6 +356,7 @@ class TorrentView(listview.ListView, component.Component):
|
||||||
self.columns["torrent_id"].column_indices[0],
|
self.columns["torrent_id"].column_indices[0],
|
||||||
torrent_id)
|
torrent_id)
|
||||||
self.update()
|
self.update()
|
||||||
|
self.update_filter()
|
||||||
|
|
||||||
def remove_row(self, torrent_id):
|
def remove_row(self, torrent_id):
|
||||||
"""Removes a row with torrent_id"""
|
"""Removes a row with torrent_id"""
|
||||||
|
@ -366,6 +367,7 @@ class TorrentView(listview.ListView, component.Component):
|
||||||
self.liststore.remove(row)
|
self.liststore.remove(row)
|
||||||
# Force an update of the torrentview
|
# Force an update of the torrentview
|
||||||
self.update()
|
self.update()
|
||||||
|
self.update_filter()
|
||||||
break
|
break
|
||||||
row = self.liststore.iter_next(row)
|
row = self.liststore.iter_next(row)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue