summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbendikro <bendikro@gmail.com>2014-10-08 03:26:03 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2014-10-15 19:01:44 +0100
commitf95cfb42c304073959944c4097d16fb200e78c06 (patch)
treeba20a8427a4a7c3adaad4ae265cdabaa4e58446b
parent26f5be17609a8312c4ba06aa120ed208cd7876f2 (diff)
downloaddeluge-f95cfb42c304073959944c4097d16fb200e78c06.tar.gz
deluge-f95cfb42c304073959944c4097d16fb200e78c06.tar.bz2
deluge-f95cfb42c304073959944c4097d16fb200e78c06.zip
[GTKUI] Fix bug in the torrentview introduced by 5dba83
The speedup optimizations removed code that recreates the model filter when a new column is added. This missing line is only a problem when there plugins that add columns to the GTKUI after initially loading the torrentlist.
-rw-r--r--deluge/ui/gtkui/listview.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/ui/gtkui/listview.py b/deluge/ui/gtkui/listview.py
index 8db35a174..37bb39599 100644
--- a/deluge/ui/gtkui/listview.py
+++ b/deluge/ui/gtkui/listview.py
@@ -414,6 +414,7 @@ class ListView:
if self.liststore is not None:
self.liststore.foreach(copy_row, (new_list, self.columns))
self.liststore = new_list
+ self.create_model_filter()
return
def remove_column(self, header):