diff --git a/deluge/ui/gtkui/listview.py b/deluge/ui/gtkui/listview.py index add43cb94..94d7a3a13 100644 --- a/deluge/ui/gtkui/listview.py +++ b/deluge/ui/gtkui/listview.py @@ -345,7 +345,10 @@ class ListView: name = widget.get_child().get_text() # Set the column's visibility based on the widgets active state - self.columns[name].column.set_visible(widget.get_active()) + try: + self.columns[name].column.set_visible(widget.get_active()) + except KeyError: + self.columns[unicode(name)].column.set_visible(widget.get_active()) return def on_treeview_header_right_clicked(self, column, event):