mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +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],
|
||||
torrent_id)
|
||||
self.update()
|
||||
self.update_filter()
|
||||
|
||||
def remove_row(self, torrent_id):
|
||||
"""Removes a row with torrent_id"""
|
||||
|
@ -366,6 +367,7 @@ class TorrentView(listview.ListView, component.Component):
|
|||
self.liststore.remove(row)
|
||||
# Force an update of the torrentview
|
||||
self.update()
|
||||
self.update_filter()
|
||||
break
|
||||
row = self.liststore.iter_next(row)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue