Fix torrents not showing up in list until changing filters.

This commit is contained in:
Andrew Resch 2008-03-08 23:03:01 +00:00
parent b32c7de968
commit 7303e52ae6
1 changed files with 2 additions and 0 deletions

View File

@ -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)