Set # column as default sort.
This commit is contained in:
parent
8562cad4f5
commit
969b43d069
@ -158,6 +158,9 @@ class TorrentView(listview.ListView, component.Component):
|
|||||||
[float],
|
[float],
|
||||||
status_field=["distributed_copies"])
|
status_field=["distributed_copies"])
|
||||||
|
|
||||||
|
# Set default sort column to #
|
||||||
|
self.liststore.set_sort_column_id(self.get_column_index("#"), gtk.SORT_ASCENDING)
|
||||||
|
|
||||||
# Set filter to None for now
|
# Set filter to None for now
|
||||||
self.filter = (None, None)
|
self.filter = (None, None)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user