fix utf-8 bug in feature window. fixes #3580
This commit is contained in:
parent
4442098276
commit
4a711a7542
|
@ -143,7 +143,7 @@ class FeaturesWindow:
|
||||||
selection = widget.get_selection()
|
selection = widget.get_selection()
|
||||||
path = selection.get_selected_rows()[1][0]
|
path = selection.get_selected_rows()[1][0]
|
||||||
available = self.model[path][1]
|
available = self.model[path][1]
|
||||||
feature = self.model[path][0]
|
feature = self.model[path][0].decode('utf-8')
|
||||||
text = self.features[feature][1] + '\n'
|
text = self.features[feature][1] + '\n'
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
text = text + self.features[feature][3]
|
text = text + self.features[feature][3]
|
||||||
|
|
Loading…
Reference in New Issue