Decode buffer name when inserting (patch #8050)
This commit is contained in:
parent
265e8b8c13
commit
3c4ccb16f9
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||
|
||||
def insert_buffer(self, index, buf):
|
||||
self.buffers.insert(index, buf)
|
||||
self.list_buffers.insertItem(index, '%d. %s' % (buf.data['number'], buf.data['full_name']))
|
||||
self.list_buffers.insertItem(index, '%d. %s' % (buf.data['number'], buf.data['full_name'].decode('utf-8')))
|
||||
self.stacked_buffers.insertWidget(index, buf.widget)
|
||||
|
||||
def remove_buffer(self, index):
|
||||
|
|
Loading…
Reference in a new issue