Fix saving Files tab and Peers tab state

This commit is contained in:
Andrew Resch 2009-01-16 03:13:37 +00:00
parent 5cef7fe9fc
commit 8e5473a91d
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ class FilesTab(Tab):
state = {
"columns": {},
"sort_id": column_id,
"sort_order": sort_order
"sort_order": int(sort_order)
}
for index, column in enumerate(self.listview.get_columns()):

View File

@ -166,7 +166,7 @@ class PeersTab(Tab):
state = {
"columns": {},
"sort_id": column_id,
"sort_order": sort_order
"sort_order": int(sort_order)
}
for index, column in enumerate(self.listview.get_columns()):