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…
Reference in New Issue