diff --git a/deluge/ui/gtkui/listview.py b/deluge/ui/gtkui/listview.py
index 204f09b..1bfec27 100644
a
|
b
|
def remove_column(self, header):
|
472 | 472 | for column in self.columns.values(): |
473 | 473 | if column.column_indices[0] > column_indices[0]: |
474 | 474 | # We need to shift this column_indices |
475 | | for index in column.column_indices: |
476 | | index = index - len(column_indices) |
| 475 | for i, index in enumerate(column.column_indices): |
| 476 | column.column_indices[i] = index - len(column_indices) |
477 | 477 | |
478 | 478 | # Remove from the liststore columns list |
479 | 479 | for index in column_indices: |