Add missing utf-8 decoding for buffer title
This commit is contained in:
parent
77b25057d1
commit
f4780bac89
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue