mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-03 08:35:33 +00:00
Modified fix for #1957 non-acsii columns
This commit is contained in:
parent
17d12fbaf2
commit
9ecc9ab7ad
1 changed files with 4 additions and 1 deletions
|
@ -345,7 +345,10 @@ class ListView:
|
||||||
name = widget.get_child().get_text()
|
name = widget.get_child().get_text()
|
||||||
|
|
||||||
# Set the column's visibility based on the widgets active state
|
# 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
|
return
|
||||||
|
|
||||||
def on_treeview_header_right_clicked(self, column, event):
|
def on_treeview_header_right_clicked(self, column, event):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue