From 7303e52ae6bc80157673aeb9c5b701552b28f0a7 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 8 Mar 2008 23:03:01 +0000 Subject: [PATCH] Fix torrents not showing up in list until changing filters. --- deluge/ui/gtkui/torrentview.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index dd268ff89..c640182a6 100644 --- a/deluge/ui/gtkui/torrentview.py +++ b/deluge/ui/gtkui/torrentview.py @@ -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)