mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-29 20:56:31 +00:00
Fix #1957 : Columns don't add resulting in keyerror for non-latin languages
This commit is contained in:
parent
1a8aa4b920
commit
0941377fac
@ -333,7 +333,7 @@ class ListView:
|
||||
def on_menuitem_toggled(self, widget):
|
||||
"""Callback for the generated column menuitems."""
|
||||
# Get the column name from the widget
|
||||
name = widget.get_child().get_text()
|
||||
name = unicode(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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user