mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
Fix when sorting # column, downloads should be on top
This commit is contained in:
parent
7167c0ecca
commit
05141c6f2c
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class ListView:
|
||||||
self.model_filter = gtk.TreeModelSort(model_filter)
|
self.model_filter = gtk.TreeModelSort(model_filter)
|
||||||
if sort_info and sort_info[0] and sort_info[1] > -1:
|
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.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)
|
self.treeview.set_model(self.model_filter)
|
||||||
|
|
||||||
def set_sort_functions(self):
|
def set_sort_functions(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue