Add missing utf-8 decoding for buffer title

This commit is contained in:
Sebastien Helleu 2012-07-27 18:04:46 +02:00
parent 77b25057d1
commit f4780bac89

View file

@ -162,7 +162,7 @@ class Buffer(QtCore.QObject):
def update_title(self):
"""Update title."""
try:
self.widget.set_title(color.remove(self.data['title']))
self.widget.set_title(color.remove(self.data['title'].decode('utf-8')))
except:
self.widget.set_title(None)