Fix issue where the column state wouldn't save if not using English

This commit is contained in:
Andrew Resch 2009-07-31 18:47:42 +00:00
parent aeb087eb3d
commit d5f7df8a96
1 changed files with 1 additions and 2 deletions

View File

@ -481,8 +481,7 @@ class TorrentView(listview.ListView, component.Component):
for row in self.liststore: for row in self.liststore:
if not torrent_id == row[self.columns["torrent_id"].column_indices[0]]: if not torrent_id == row[self.columns["torrent_id"].column_indices[0]]:
continue continue
row[self.get_column_index(_("Progress"))[1]] = state
row[self.get_column_index("Progress")[1]] = state
self.mark_dirty(torrent_id) self.mark_dirty(torrent_id)