Fix saving Files tab and Peers tab state
This commit is contained in:
parent
5cef7fe9fc
commit
8e5473a91d
|
@ -212,7 +212,7 @@ class FilesTab(Tab):
|
||||||
state = {
|
state = {
|
||||||
"columns": {},
|
"columns": {},
|
||||||
"sort_id": column_id,
|
"sort_id": column_id,
|
||||||
"sort_order": sort_order
|
"sort_order": int(sort_order)
|
||||||
}
|
}
|
||||||
|
|
||||||
for index, column in enumerate(self.listview.get_columns()):
|
for index, column in enumerate(self.listview.get_columns()):
|
||||||
|
|
|
@ -166,7 +166,7 @@ class PeersTab(Tab):
|
||||||
state = {
|
state = {
|
||||||
"columns": {},
|
"columns": {},
|
||||||
"sort_id": column_id,
|
"sort_id": column_id,
|
||||||
"sort_order": sort_order
|
"sort_order": int(sort_order)
|
||||||
}
|
}
|
||||||
|
|
||||||
for index, column in enumerate(self.listview.get_columns()):
|
for index, column in enumerate(self.listview.get_columns()):
|
||||||
|
|
Loading…
Reference in New Issue