Decode buffer name when inserting (patch #8050)
This commit is contained in:
parent
265e8b8c13
commit
3c4ccb16f9
@ -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 New Issue
Block a user