Fix when sorting # column, downloads should be on top

This commit is contained in:
Andrew Resch 2009-01-23 05:25:31 +00:00
parent 190854dc2f
commit df92d3c468
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ Deluge 1.1.1 - (In Development)
* Do not allow duplicate torrents in the AddTorrentDialog
* Fix translating speed units in status tab when a per-torrent limit is set
* Fix torrents not displaying properly after disconnecting and reconnecting to the daemon
* Fix when sorting # column, downloads should be on top
Misc:
* Fix bdecoding some torrent files

View file

@ -171,7 +171,7 @@ class ListView:
self.model_filter = gtk.TreeModelSort(model_filter)
if sort_info and sort_info[0] and sort_info[1] > -1:
self.model_filter.set_sort_column_id(sort_info[0], sort_info[1])
#self.set_sort_functions()
self.set_sort_functions()
self.treeview.set_model(self.model_filter)
def set_sort_functions(self):