mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
[GTKUI] Fix listview error with new config
This commit is contained in:
parent
4e77c46694
commit
ecf5af1e16
1 changed files with 5 additions and 4 deletions
|
@ -229,6 +229,7 @@ class ListView:
|
|||
self.set_model_sort()
|
||||
|
||||
def set_model_sort(self):
|
||||
if self.state is not None:
|
||||
for column_state in self.state:
|
||||
if column_state.sort is not None and column_state.sort > -1:
|
||||
self.treeview.get_model().set_sort_column_id(column_state.sort, column_state.sort_order)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue