[GTKUI] Fix column added after restore order func

This commit is contained in:
Calum Lind 2014-02-20 19:16:12 +00:00
parent 9290cc1f7a
commit 881da401e1
1 changed files with 2 additions and 3 deletions

View File

@ -303,10 +303,9 @@ class TorrentView(listview.ListView, component.Component):
status_field=["tracker_host", "tracker_host"], default=False)
self.add_text_column(_("Save Path"), status_field=["save_path"], default=False)
self.add_text_column(_("Owner"), status_field=["owner"], default=False)
self.add_bool_column(_("Shared"), status_field=["shared"], default=False,
tooltip=_("Torrent is shared between other Deluge users or not."))
self.restore_columns_order_from_state()
self.add_bool_column(_("Shared"), status_field=["shared"],
tooltip=_("Torrent is shared between other Deluge "
"users or not."), default=False)
# Set filter to None for now
self.filter = None