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): def update_title(self):
"""Update title.""" """Update title."""
try: try:
self.widget.set_title(color.remove(self.data['title'])) self.widget.set_title(color.remove(self.data['title'].decode('utf-8')))
except: except:
self.widget.set_title(None) self.widget.set_title(None)