From bd146570556ac1c3d3529c951c46ebdd95df25e8 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sun, 6 Dec 2015 16:53:19 +0000 Subject: [PATCH] [GTKUI] Revert remove_column change from 550ddc010 --- deluge/ui/gtkui/torrentview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index 8b08617f7..a03c0a450 100644 --- a/deluge/ui/gtkui/torrentview.py +++ b/deluge/ui/gtkui/torrentview.py @@ -370,8 +370,7 @@ class TorrentView(ListView, component.Component): def remove_column(self, header): """Removes the column with the name 'header' from the torrentview""" self.save_state() - if self.window.visible(): - ListView.remove_column(self, header) + ListView.remove_column(self, header) def set_filter(self, filter_dict): """